-
Notifications
You must be signed in to change notification settings - Fork 414
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
Build from source breaks after upgrade from Qt 6.4.3 to 6.5.0 #584
Comments
Are you building linuxdeployqt from source? What happens if you use the linuxdeployqt AppImage (continuous build) provided on GitHub Releases? |
Yes, I am building linuxdeployqt from source using clang++ 10 with Qt 6.5 under dockerized Ubuntu Focal inside my CI.
The published AppImage works without any issues. The drawback is that it is only provided for the x86_64 (amd64) CPU architecture. The reason I was building linuxdeployqt from source in the first place is to support other architectures such as aarch64 (arm64) and armv7 (arm32) in my CI. That being said, the symptoms described in this bug report are present for all CPU architectures with Qt 6.5. I can even reproduce it on my x86_64 laptop with Qt 6.5.2. |
This probably is because linuxdeployqt has never really been ported to Qt6. It is a Qt5 application and has only ever been tested to be compiled with Qt5. |
While that is certainly possible, I suspect that this is merely caused by change of qmake's configuration language. Out of curiosity, I tried running it in project generation mode using |
I discovered that upgrading Qt from version 6.4.3 to 6.5.0 (or later) breaks the build from source. The main symptom are the following qmake messages:
Curiously these only appear as "warnings" because qmake still terminates with exit code 0. In my CI, this led to a failing attempt to invoke GNU make, which had the following predictable output since no objects for executable targets were registered:
I suspect that the cause may have something to do with the way makespecs are organized in Qt 6.4 and 6.5. However, I do not really understand qmake internals all that well.
For now I am mitigating this by sticking with Qt 6.4.3 but it would be nice to be able to use version 6.5 at some point since it is a LTS release, which brings many features that are not present in 6.4.
The text was updated successfully, but these errors were encountered: