Building Qt source: error right at end :(
-
Websocket module is part of
default
subset. If you don't need it, remove it from your subset, or--skip
inconfigure
. You'll have to do a full clean & build of Qt, though. -
so does anybody care to take a stab at fixing this? should i report a bug on it? shouldn't this compile?
if i were to re-run
init-repository
, would the line look like this? (the doc is a little unclear)perl init-repository --module-subset=default,-qtwebengine,-qtwebsockets --codereview-username <myname>
-
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.