Details
-
Bug
-
Resolution: Cannot Reproduce
-
P3: Somewhat important
-
None
-
5.15.0
-
None
-
Windows and Linux
Description
When configuring qt with the following arguments: `-prefix c:\.conan\3e03d4\1 -v -archdatadir c:\.conan\3e03d4\1\bin\archdatadir -datadir c:\.conan\3e03d4\1\bin\datadir -sysconfdir c:\.conan\3e03d4\1\bin\sysconfdir`, all expected files are installed in the specified subfolder. Problems appear when trying to run qmake from the installed location: it fails to find some features (thread for example). running `qmake -d` displays `Cannot load qconfig.pri!`, produced here https://code.qt.io/cgit/qt/qtbase.git/tree/mkspecs/features/qt_config.prf?h=v5.15.0#n5 . Indeed $$[QT_HOST_DATA] has the value `C:/.conan/3e03d4/1` whereas it should be `c:\.conan\3e03d4\1\bin\archdatadir`
`qmake -query` shows that none of the -archdatadir -datadir or -sysconfdir argument changed the value of any of these variables:
QT_SYSROOT: QT_INSTALL_PREFIX:C:/.conan/3e03d4/1 QT_INSTALL_ARCHDATA:C:/.conan/3e03d4/1 QT_INSTALL_DATA:C:/.conan/3e03d4/1 QT_INSTALL_DOCS:C:/.conan/3e03d4/1/doc QT_INSTALL_HEADERS:C:/.conan/3e03d4/1/include QT_INSTALL_LIBS:C:/.conan/3e03d4/1/lib QT_INSTALL_LIBEXECS:C:/.conan/3e03d4/1/bin QT_INSTALL_BINS:C:/.conan/3e03d4/1/bin QT_INSTALL_TESTS:C:/.conan/3e03d4/1/tests QT_INSTALL_PLUGINS:C:/.conan/3e03d4/1/plugins QT_INSTALL_IMPORTS:C:/.conan/3e03d4/1/imports QT_INSTALL_QML:C:/.conan/3e03d4/1/qml QT_INSTALL_TRANSLATIONS:C:/.conan/3e03d4/1/translations QT_INSTALL_CONFIGURATION: QT_INSTALL_EXAMPLES:C:/.conan/3e03d4/1/examples QT_INSTALL_DEMOS:C:/.conan/3e03d4/1/examples QT_HOST_PREFIX:C:/.conan/3e03d4/1 QT_HOST_DATA:C:/.conan/3e03d4/1 QT_HOST_BINS:C:/.conan/3e03d4/1/bin QT_HOST_LIBS:C:/.conan/3e03d4/1/lib QMAKE_SPEC:win32-msvc QMAKE_XSPEC:win32-msvc QMAKE_VERSION:3.1 QT_VERSION:5.15.0