QMake plugin should allow specifying custom Qt paths
Bug #1670146 reported by
Tim Süberkrüb
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Undecided
|
Unassigned |
Bug Description
Some projects require Qt versions higher than what Ubuntu offers in it's archives.
Thus it would be useful if the QMake plugin would support specifying Qt related paths to a custom Qt version.
Right now it is necessary to write your own plugin for this purpose as done in [1], [2].
I'm not sure how this should be implemented though. Simply using an environment variable like in [2]?
[1]: https:/
[2]: https:/
To post a comment you must log in.
Where is the newer version of Qt coming from? [1] seems to have it as a part, [2] seems to just assume it's on the system somewhere. If the `qt-version` option was made a string instead of an enum, and validated against `qtchooser -list-version`, would that work? It would then set QT_SELECT to the right thing. I'm not certain that this would work if the newer Qt is a part though, it would require some experimentation.