-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Qt 6.5.2 ARM 64-bit's qtpaths.bat has hardcoded, possible nonexistent path #3892
Comments
I don't like that Qt doesn't have a more flexible solution for this that doesn't require manually patching those files. But in my previous experiences when building Qt 6 for x-compiling I always had to manually modify those four .bat files every time I moved the Host build around. |
Are you thinking that |
That will work, but canonically (given a local build I have), the mapping is: You can also look at the existing .bat files. Whatever they use at the host executable can stay the same. |
Got it, thanks for clarifying. I'll just redirect the paths to the executables as they are. The new image will be along in a few days, at which point, if it works, let me know so i can close this issue. |
Please let me know if/when this issue is resolved. |
@OwenMcDonnell you mean I can try again? I kept looking at https://www.appveyor.com/docs/windows-images-software/#qt and it still says 6.5.2 |
The deployed image is preceding the documentation this time, since we're deploying both VS2022 and VS2019 images this time. So, yes please give it a try. |
@OwenMcDonnell What is the patht to this Qt 6.5.3? I tried |
|
I can confirm it fixed the issue. Let me know once the Visual Studio 2022 runner has this fixed Qt 6.5.3 |
The |
Awesome, closing this. |
When crosspiling with Qt ARM 64-bit the CMake scripts need both a Host build of Qt (x64) and a Target build of Qt(ARM64).
The builds are correctly generating the ARM64 binaries, but windeployqt is not working, even with passing the custom
--qtpaths
parameter.This issue with windeployqt is only happening with the ARM 64-bit version of Qt. x64 is not affected.
Defect:
qmake and qpaths, in the
\bin
folder of the ARM 64-bit build of Qt are actually .bat files that use the x64 qmake.exe/qtpaths.exe binaries but with a custom .conf file. The issue, I think is that these .bat files are hardcoded to some folder I can't confirm exist nor match the host version of Qt. So:Content of
C:\Qt\6.5.2\msvc2019_arm64\bin\qtpaths.bat
Expected (it should use a Qt matching version of a host build .exe)
Actual
Please make sure that qmake.bat, qmake6.bat, qtpaths.bat and qtpaths6.bat have correct paths.
The text was updated successfully, but these errors were encountered: