-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build error in ConnectionWindow.qml #256
Comments
Hmm, doesn't seem to be the version; the v. 5.6 docs show the following legal syntax:
|
If the
At this point I'm out of my depth. Does this make any sense? Thanks! |
The same on RPI3 with Qt 5.7.1. I start the compiled machinekit-client:
|
I believe this is due to the syntax being introduced only in later Qt versions. I dabbled with fixing the code in QtQuickVcp and with building newer Qt5 from source, but ultimately didn't hit upon an elegant solution, and ended up switching over to the MachinekitClient bintray images on Since this one-liner is apparently the only thing keeping QtQuickVcp from building against Debian Stretch packages, I wonder if fixing it would lower the bar for folks to start contributing. |
QML leaves me cold, but looking at the docs you linked to, it seems a list should have double << around it and the declaration of a property just has single <. There is also an inconsistency of white space, where double arrowheads have no spacing between the type and the first arrowhead and single arrowheads are spaced from the preceding type, but that could just be style on the part of the example writer. |
Yes, the syntax is from newer Qt versions. Just replace it with |
Update changing things to |
With Qt v. 5.7.1 from Debian Stretch packages, and installing QQVCP from source, running an app from qtcreator ("Debug" mode) fails with the following errors:
The line in question is here:
https://github.com/machinekit/QtQuickVcp/blob/master/src/applicationcontrols/ConnectionWindow.qml#L183
This looks like good syntax, judging from the Qt docs. Is this error the result of the older Qt version packaged in Stretch?
The text was updated successfully, but these errors were encountered: