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 failed on Ubuntu 22.04 #650
Comments
Seems to be related to this bug: https://bugreports.qt.io/browse/QTBUG-101353 Can you try adding this line: set(CMAKE_AUTORCC_OPTIONS "--no-zstd") Below this line: Line 35 in 10bed34
And retry the build steps from the beginning? |
I followed the steps that you said, but it didn't work. The error was still there, nothing changed |
Did you delete the build folder before making the change and trying again? |
Yes, I did |
Somehow the code was successfully built if I installed Qt by the Qt binaries installer (Not by source.list or any Linux package managers) |
That worked because official Qt binaries were likely built with zstd support, while Qt binaries from Ubuntu repositories were not (apparently). I'm not sure why tweaking |
Well.. I found 1 more way to build this by using Qt 5 instead of Qt 6. By changing this line: Line 64 in 10bed34
to:
|
Just so you know, you don't have to edit that file manually. You can invoke
Just keep in mind that the Qt 5 build currently lacks some features compared to a Qt 6 build. |
Assuming the Qt bug report I linked in #650 (comment) is the root cause of this, I believe this one can be finally closed, because that bug has been fixed in Qt 6.2.2, and Ubuntu 22.04 already has Qt 6.2.4. But feel free to reopen if the issue still persists. |
I followed the build instruction on
/docs/build_on_linux.md
. It was configured successfully until I compiled it withmake
.Here's the log:
Note that I have installed all the needed packages with the command:
Hardware and Software info:
The text was updated successfully, but these errors were encountered: