Closed vandenoever closed 4 years ago
It's up to the user to make the proper qmake
executable available in the environment before building Qt. There are many platform-dependent ways to do that (QT_SELECT
only works if qmake
in your PATH
is qtchooser
wrapper so that only works on some systems; you may also just modify PATH
to point to a specific qmake
). I don't think it's a good idea to intervene with this process in some automatic way. And on modern OSs Qt 5 should already be the default.
Building the create
qt_core
on a Neon docker image (kdeneon/plasma:dev-stable) gives this compile error:Cargo picks up qt4 instead of 5. This can be avoided by setting the environment variable
QT_SELECT=5
:I propose that the qt executables are called with that environment variable set.
See also
qtchooser
.