Building Qt source: error right at end :(
-
Note that qtwebsockets_fr.ts is part of qttranslations.git, and not qtwebsockets.git. So the question whether qtwebsockets is part of the init-repository module is most probably independent...
There was a similar bug report over the weekend: https://bugreports.qt.io/browse/QTBUG-94803 .
-
so... there is currently no way to build from source?
-
@VRonin i appreciate your help, but i don't understand. I am in fact attempting to build from the command line (Cl) on mac, and i get this error, so i can't build. Can you explain more clearly what you mean?
-
CI stands for "continuous integration". Before any change is made to the code in Qt it is tested that everything can be built from sources for all the supported platforms and all tests pass.
It was a convoluted way to say: you are doing something wrong.
Let's be a bit more pragmatic, do you really need to rebuild the entire Qt or are you interested in a particular module you want to make/submit changes to?
-
i wish to build the entire Qt so that i can base my project on it, and step into Qt code and debug stuff that doesn't work, and implement stuff that i need for my project to work. and yes if i make a fix that everyone wants, i want to submit it back.
no i do not need
qtwebsockets
however.i'm building the
origin/dev
branch, if that's relevantalso: i'm following the proper procedure, this is a problem with the source code as evidenced by this bug report.
<rant>fonts that do not distinguish between capital letter aye (I) and lower case ell (l) are stupid</rant>
-
so, umm... any hints on how i can move forward?
-
@davecotter would you mind adding this option to your configuration setup:
-no-feature-translation
-
i ran this command:
> cd Qt5_Source/build > ../qt5/configure -prefix ./obj/debug -developer-build -opensource -nomake examples -nomake tests -confirm-license -no-feature-translation
then this:
> make
it went surprisingly fast, apparently re-using the previous failed build, which made me skeptical.
and got this:[ 96%] Built target canbusutil Updating '/Volumes/Developer/depot/Qt5_Source/build/translations/qtwebsockets_fr.qm'... lrelease error: cannot create '/Volumes/Developer/depot/Qt5_Source/build/translations/qtwebsockets_fr.qm': No such file or directory make[2]: *** [qttranslations/translations/CMakeFiles/updateqm-qtwebsockets_fr.ts] Error 1 make[1]: *** [qttranslations/translations/CMakeFiles/updateqm-qtwebsockets_fr.ts.dir/all] Error 2 make: *** [all] Error 2
-
the answer was i was building the wrong branch. switched to 5.15.2 and all is well.