Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5.3, 6.6.1
-
571201603 (dev), 01d12a2d9 (6.7), f04bf38d5 (6.6), 8b072e11b (tqtc/lts-6.5), bcdc9d705 (dev), 06ab1d363 (6.7), 9409af0fa (6.6), a16bdba91 (tqtc/lts-6.5)
Description
Can be reproduced by any project. Add qt_generate_deplo_app_script or qt_generate_deploy_qml_app_script (depends on Qt Quick app or not) followed by install to the end of default CMakeLists.txt. Refer to this tutorial:
https://www.qt.io/blog/cmake-deployment-api
The final installation contains x64 libraries instead of aarch64 libraries. So CMake does not find the correct libraries. One can check the arch of libraries by, e,g, "file" command from Git. The output should be something like:
PE32+ executable (DLL) (GUI) x86-64, for MS Windows
even for WoA installation.
Configuration log attached. May reveal the reason that windeployqt does not distinguish archs.
Attachments
Issue Links
- is required for
-
QTBUG-118541 Support Windows on ARM as a development platform and target for Qt on desktop
- Closed
- relates to
-
QTBUG-124719 windeployqt picks some host arch dlls
- Closed
For Gerrit Dashboard: QTBUG-119619 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
525472,2 | CMake: Deploy correct arch files when cross-compiling to arm Windows | dev | qt/qtbase | Status: MERGED | +2 | 0 |
526059,2 | CMake: Deploy correct arch files when cross-compiling to arm Windows | 6.7 | qt/qtbase | Status: MERGED | +2 | 0 |
526084,3 | CMake: Deploy correct arch files when cross-compiling to arm Windows | 6.6 | qt/qtbase | Status: MERGED | +2 | 0 |
526331,2 | CMake: Deploy correct arch files when cross-compiling to arm Windows | tqtc/lts-6.5 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |
548349,2 | CMake: Check for qtpaths6.exe existence during windows deployment | dev | qt/qtbase | Status: MERGED | +2 | 0 |
548398,2 | CMake: Check for qtpaths6.exe existence during windows deployment | 6.7 | qt/qtbase | Status: MERGED | +2 | 0 |
548451,2 | CMake: Check for qtpaths6.exe existence during windows deployment | 6.6 | qt/qtbase | Status: MERGED | +2 | 0 |
548489,2 | CMake: Check for qtpaths6.exe existence during windows deployment | tqtc/lts-6.5 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |