Problems building master #3931
-
I seek help in understanding some errors I get while building the master branch in a fresh openSUSE Tumbleweed install. The errors that appear can be seen below. I am using Qt6 (6.9.0) and GCC 14 (14.2.1 20250220). Apparently the errors appears in "FileDialog.cpp":
I have not seen these errors last time I compiled master several (~ 6 ?) weeks ago in a previous installation. This file has been edited 8 months ago so the cause has to be something still lacking in this new installation, a recent change in syntax required by compiler or a problem anywhere else. I am just having trouble figuring it out. Do these errors say something to you? Any hint will be appreciated.
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Ouch. No idea specifically for that error, but instead I'm wondering if some other compiler(s) are available in Tumbleweed that you could try? ie llvm probably is, but that's just me guessing. π |
Beta Was this translation helpful? Give feedback.
-
Thanks for the suggestion, @justinclift . I have now tried with clang (both 19 and 20). I still consistently get an error on FileDialog.cpp:
Not sure what it really means and, as before, I am also unsure whether this arises from recent changes in Qt or any linking complexity within my particular system. |
Beta Was this translation helpful? Give feedback.
-
I have investigated a bit more and see that there are other Qt projects having this issue at the moment. It seems to appear when using Qt 6.9.0. Have a look for example at: musescore/MuseScore#27860 |
Beta Was this translation helpful? Give feedback.
-
Problem solved: replacing |
Beta Was this translation helpful? Give feedback.
-
Awesome, sounds like good research and problem solving. π |
Beta Was this translation helpful? Give feedback.
Problem solved: replacing
QChar
forQLatin1Char
in FileDialog.cpp lines 51 and 65 solves the problem and allows sqlitebrowser to be built using Qt 6.9.0.