Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
6.0.0 Alpha
-
None
-
-
4670ef3cc4755f3e2ad20dc1b7eccf5aa8583456 (qt/qtbase/dev)
Description
On dev branch (6.0) setting INSTALL_BINDIR, INSTALL_ARCHDATADIR and INSTALL_MKSPECSDIR at the same time with cmake the resulting qmake utility
fails:
$ git clone --depth 1 [https://github.com/qt/qtbase.git] && cd qtbase && cmake -LAH -DCMAKE_INSTALL_PREFIX=/usr -DINSTALL_BINDIR=lib/qt6/bin -DINSTALL_ARCHDATADIR=lib/qt6 -DINSTALL_MKSPECSDIR=lib/qt6/mkspecs . && make install $ git clone [https://github.com/hvoigt/qt-hello-world.git] && cd qt-hello-world && PATH=/usr/lib/qt6/bin/:$PATH qmake . && make Cloning into 'qt-hello-world'... Could not find qmake spec 'linux-g++'. Error processing project file: ./qt-hello-world.pro
If I leave the INSTALL_XXX variables to their default qmake goes fine on this sample project.