Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
6.0.0 RC2
-
-
192d37099da0db1b7bf7452c44daacc19b85094b (qt/qtbase/dev) 491cb6b17ec2d5cd18db402897ba77f99306015d (qt/qtbase/6.0)
Description
The resulting target_qt.conf file that qmake uses have wrong paths, when doing a -developer-build with CMake. qmake -query returns the following:
assam:~/sources/qt6/build-debug/qtbase/bin % ./qmake -query QT_SYSROOT: QT_INSTALL_PREFIX:/Users/assam/sources/qt6/build-debug/qtbase QT_INSTALL_PREFIX/src:/Users/assam/sources/qt6/build-debug/qtbase/bin QT_INSTALL_ARCHDATA:/Users/assam/sources/qt6/build-debug/qtbase QT_INSTALL_ARCHDATA/src:/Users/assam/sources/qt6/build-debug/qtbase/bin QT_INSTALL_DATA:/Users/assam/sources/qt6/build-debug/qtbase QT_INSTALL_DATA/src:/Users/assam/sources/qt6/build-debug/qtbase/bin QT_INSTALL_DOCS:/Users/assam/sources/qt6/build-debug/qtbase/doc QT_INSTALL_DOCS/src:/Users/assam/sources/qt6/build-debug/qtbase/bin/doc QT_INSTALL_HEADERS:/Users/assam/sources/qt6/build-debug/qtbase/include QT_INSTALL_HEADERS/src:/Users/assam/sources/qt6/build-debug/qtbase/bin/include QT_INSTALL_LIBS:/Users/assam/sources/qt6/build-debug/qtbase/lib QT_INSTALL_LIBS/src:/Users/assam/sources/qt6/build-debug/qtbase/bin/lib QT_INSTALL_LIBEXECS:/Users/assam/sources/qt6/build-debug/qtbase/libexec QT_INSTALL_LIBEXECS/src:/Users/assam/sources/qt6/build-debug/qtbase/bin/libexec QT_INSTALL_BINS:/Users/assam/sources/qt6/build-debug/qtbase/bin QT_INSTALL_BINS/src:/Users/assam/sources/qt6/build-debug/qtbase/bin/bin QT_INSTALL_TESTS:/Users/assam/sources/qt6/build-debug/qtbase/tests QT_INSTALL_TESTS/src:/Users/assam/sources/qt6/build-debug/qtbase/bin/tests QT_INSTALL_PLUGINS:/Users/assam/sources/qt6/build-debug/qtbase/plugins QT_INSTALL_PLUGINS/src:/Users/assam/sources/qt6/build-debug/qtbase/bin/plugins QT_INSTALL_QML:/Users/assam/sources/qt6/build-debug/qtbase/qml QT_INSTALL_QML/src:/Users/assam/sources/qt6/build-debug/qtbase/bin/qml QT_INSTALL_TRANSLATIONS:/Users/assam/sources/qt6/build-debug/qtbase/translations QT_INSTALL_TRANSLATIONS/src:/Users/assam/sources/qt6/build-debug/qtbase/bin/translations QT_INSTALL_CONFIGURATION:/Users/assam/sources/qt6/build-debug/qtbase QT_INSTALL_CONFIGURATION/src:/Users/assam/sources/qt6/build-debug/qtbase/bin QT_INSTALL_EXAMPLES:/Users/assam/sources/qt6/build-debug/qtbase/examples QT_INSTALL_EXAMPLES/src:/Users/assam/sources/qt6/build-debug/qtbase/bin/examples QT_INSTALL_DEMOS:/Users/assam/sources/qt6/build-debug/qtbase/examples QT_INSTALL_DEMOS/src:/Users/assam/sources/qt6/build-debug/qtbase/bin/examples QT_HOST_PREFIX:/Users/assam/Qt/6.0.0/clang_64 QT_HOST_PREFIX/get:/Users/assam/sources/qt6/build-debug/qtbase QT_HOST_PREFIX/src:/Users/assam/sources/qt6/build-debug/qtbase/bin QT_HOST_DATA:/Users/assam/sources/qt6/build-debug/qtbase QT_HOST_DATA/src:/Users/assam/sources/qt6/qt6/qtbase QT_HOST_BINS:/Users/assam/Qt/6.0.0/clang_64/bin QT_HOST_BINS/get:/Users/assam/sources/qt6/build-debug/qtbase/bin QT_HOST_BINS/src:/Users/assam/sources/qt6/build-debug/qtbase/bin/bin QT_HOST_LIBS:/Users/assam/Qt/6.0.0/clang_64/lib QT_HOST_LIBS/get:/Users/assam/sources/qt6/build-debug/qtbase/lib QT_HOST_LIBS/src:/Users/assam/sources/qt6/build-debug/qtbase/bin/lib QMAKE_SPEC:macx-clang QMAKE_XSPEC:android-clang QMAKE_VERSION:3.1 QT_VERSION:6.0.0
Mainly the paths for QT_HOST_* are wrong, multiple paths are returned, this will cause QC builds for apps to fail because the hostBinPath() and hostPrefix() paths are wrong and QC cannot then find androiddeployqt tool.
Removing EffectivePaths and EffectiveSourcePaths sections in target_qt.conf file fixes the issue.
Attachments
Issue Links
- resulted in
-
QTCREATORBUG-25012 Cannot build project with Qt6 development build
-
- Closed
-