Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
6.2.9
-
Windows11 arm64
Description
Install Qt 6.2.9 sources on Window on ARM machine, configure:
cmake -DQT_QMAKE_TARGET_MKSPEC=win32-arm64-msvc -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DFEATURE_msvc_obj_debug_info=ON -DQT_BUILD_TESTS=OFF -DCMAKE_AUTOGEN_VERBOSE=ON -DBUILD_qtwebengine=FALSE -DBUILD_qtwebview=FALSE -DBUILD_qtwayland=FALSE -DBUILD_qttranslations=FALSE -DBUILD_qtdoc=FALSE C:\Users\qt\RTA\Qt_6.2.9\6.2.9\Src -DCMAKE_INSTALL_PREFIX:PATH=C:\Users\qt\RTA\Qt_6.2.9\6.2.9\Src\qtbase
Fails:
-- Building for: Ninja -- The CXX compiler identification is MSVC 19.35.32215.0 -- The C compiler identification is MSVC 19.35.32215.0 -- The ASM compiler identification is MSVC -- Found assembler: C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.35.32215/bin/Hostarm64/arm64/cl.exe -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.35.32215/bin/Hostarm64/arm64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.35.32215/bin/Hostarm64/arm64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done Checking dependencies of submodule 'qtbase' Checking dependencies of submodule 'qtimageformats' Checking dependencies of submodule 'qtshadertools' Checking dependencies of submodule 'qtsvg' Checking dependencies of submodule 'qtdeclarative' Checking dependencies of submodule 'qt3d' Checking dependencies of submodule 'qt5compat' Checking dependencies of submodule 'qtactiveqt' Checking dependencies of submodule 'qtmultimedia' Checking dependencies of submodule 'qtcharts' Checking dependencies of submodule 'qtcoap' Checking dependencies of submodule 'qtconnectivity' Checking dependencies of submodule 'qtdatavis3d' Checking dependencies of submodule 'qttools' Checking dependencies of submodule 'qtlottie' Checking dependencies of submodule 'qtmqtt' Checking dependencies of submodule 'qtnetworkauth' Checking dependencies of submodule 'qtopcua' Checking dependencies of submodule 'qtserialport' Checking dependencies of submodule 'qtpositioning' Checking dependencies of submodule 'qtquicktimeline' Checking dependencies of submodule 'qtquick3d' Checking dependencies of submodule 'qtremoteobjects' Checking dependencies of submodule 'qtscxml' Checking dependencies of submodule 'qtsensors' Checking dependencies of submodule 'qtserialbus' Checking dependencies of submodule 'qtvirtualkeyboard' Checking dependencies of submodule 'qtwebsockets' Checking dependencies of submodule 'qtwebchannel' Configuring submodule 'qtbase'", 'CMake Error at qtbase/cmake/QtSetup.cmake:259 (message): You need to set QT_HOST_PATH to cross compile Qt. Call Stack (most recent call first): qtbase/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake:237 (include) qtbase/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake:382 (qt_build_internals_set_up_private_api) qtbase/CMakeLists.txt:109 (qt_build_repo_begin) -- Configuring incomplete, errors occurred! See also "C:/Users/qt/RTA/Qt_6.2.9/6.2.9/Src/CMakeFiles/CMakeOutput.log". See also "C:/Users/qt/RTA/Qt_6.2.9/6.2.9/Src/CMakeFiles/CMakeError.log".
Same build machine is used to run same test with 6.6.0 and 6.5.1&2 and those builds work fine on the setup.
Should 6.2.x work also? Or maybe the msvc2022 is not compatible...?