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 .
-
wrote on 28 Jun 2021, 14:01 last edited by
so... there is currently no way to build from source?
-
wrote on 28 Jun 2021, 14:39 last edited by
Yes there is. The Mac CI builds it. If there wasn't the bug would be priority 0 and managed ASAP by TQtC
-
wrote on 28 Jun 2021, 14:45 last edited by
@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?
-
wrote on 28 Jun 2021, 14:54 last edited by VRonin
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?
-
wrote on 28 Jun 2021, 15:01 last edited by davecotter
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>
-
wrote on 28 Jun 2021, 18:23 last edited by
so, umm... any hints on how i can move forward?
-
so, umm... any hints on how i can move forward?
wrote on 28 Jun 2021, 18:59 last edited by@davecotter would you mind adding this option to your configuration setup:
-no-feature-translation
-
wrote on 28 Jun 2021, 20:48 last edited by davecotter
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
-
wrote on 28 Jun 2021, 23:40 last edited by
the answer was i was building the wrong branch. switched to 5.15.2 and all is well.
14/14