Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.6.2
-
None
-
msys2, mingw64
-
-
bcdc9d705 (dev), 06ab1d363 (6.7), 9409af0fa (6.6), a16bdba91 (tqtc/lts-6.5)
Description
The windeployqt tool expects qtpaths to be installed, however the executable is actually called qtpaths6, so during the build, windeployqt fails to find qtpaths.
This happens due to the command (specifically, the `–qtpaths` option) that is generated by `qt_generate_deploy_app_script()`:
'C:/msys64/mingw64/bin/windeployqt-qt6.exe' 'C:/msys64/home/user/dev/draft/build/Draft.exe' '--dir' '.' '--libdir' '.' '--plugindir' 'plugins' '--force' '--qtpaths' 'C:/msys64/mingw64/bin/qtpaths.exe'
This could have been introduced in
CMake: Deploy correct arch files when cross-compiling to arm Windows · qt/qtbase@5712016 · GitHub
Commit 571201603acc731330c9af42a3aca9cda41d38fd
Attachments
For Gerrit Dashboard: QTBUG-122664 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
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 |