[Interest] Compile Qt 6.2.1 from source

joao morgado joaodeusmorgado at yahoo.com
Mon Oct 4 23:43:08 CEST 2021


 Hi Thiago
"git describe" shows  

v6.2.0-3-g1d8225dd
and  "git branch" shows
6.2.0

I did a fresh install from start: git clone ..., git checkout 6.2.0,  git submodule update,  perl init-repository,  again a git sub module update,  configure ... , cmake --build ....
 I got the same type of error:
[ 11%] Built target Scxml_autogen
[ 11%] Building CXX object qttools/src/linguist/lprodump/CMakeFiles/lprodump.dir/.rcc/qrc_proparser.cpp.o
Updating '/home/joao/qt6teste/qt5/qt6-build/qtbase/./translations/linguist_en.qm'...
lrelease error: cannot create '/home/joao/qt6teste/qt5/qt6-build/qtbase/./translations/linguist_en.qm': No such file or directory
make[2]: *** [qttranslations/translations/CMakeFiles/updateqm-linguist_en.ts.dir/build.make:70: qttranslations/translations/CMakeFiles/updateqm-linguist_en.ts] Erro 1
make[1]: *** [CMakeFiles/Makefile2:261912: qttranslations/translations/CMakeFiles/updateqm-linguist_en.ts.dir/all] Erro 2
make[1]: *** A aguardar por trabalhos não terminados....
[ 11%] Building CXX object qtscxml/tools/qscxmlc/CMakeFiles/qscxmlc.dir/__/__/src/scxml/qscxmlexecutablecontent.cpp.o
[ 11%] Building CXX object qtscxml/tools/qscxmlc/CMakeFiles/qscxmlc.dir/__/__/src/scxml/qscxmltabledata.cpp.o
[ 11%] Built target qtattributionsscanner
[ 11%] Building CXX object qtscxml/tools/qscxmlc/CMakeFiles/qscxmlc.dir/generator.cpp.o
[ 11%] Building CXX object qtscxml/tools/qscxmlc/CMakeFiles/qscxmlc.dir/main.cpp.o
[ 11%] Linking CXX executable ../../../../qtbase/bin/lconvert
[ 11%] Built target lconvert
[ 11%] Building CXX object qtscxml/tools/qscxmlc/CMakeFiles/qscxmlc.dir/qscxmlc.cpp.o
[ 11%] Building CXX object qtscxml/tools/qscxmlc/CMakeFiles/qscxmlc.dir/scxmlcppdumper.cpp.o
[ 11%] Built target DesignerComponentsPrivate_autogen
[ 11%] Building CXX object qtscxml/tools/qscxmlc/CMakeFiles/qscxmlc.dir/.rcc/qrc_templates.cpp.o
[ 11%] Built target Sensors_autogen
[ 11%] Linking CXX executable ../../../../qtbase/libexec/lprodump
[ 11%] Built target lprodump
[ 11%] Linking CXX executable ../../../qtbase/bin/qscxmlc
[ 11%] Built target qscxmlc
make: *** [Makefile:146: all] Erro 2


Thanks for your help Thiago, but I'm gonna give up on this, life is short  and I also figure out the problem of SoundEffect not working on dev branch, gstreamer had not been configured. 
I had to install a bunch of dependencies of gstreamer and wayland libs, then a new build of the dev branch made the sound work perflectly.
Thanks again
João
 


    Em segunda-feira, 4 de outubro de 2021 19:54:15 GMT+1, Thiago Macieira <thiago.macieira at intel.com> escreveu:  
 
 On Sunday, 3 October 2021 12:36:52 PDT joao morgado via Interest wrote:
> The second installation that failled I git cloned to /home/joao/qt6.2.0/qt5,
> configured from  /home/joao/qt6.2.0/qt5/qt6.2.0-build . I did a checkout to
> branch 6.2.0 before the "perl init-repository"

Hello João

Please confirm that the correct checkout was achieved. On the top-level, 
please run

 git describe

and it should print:

 v6.2.0

Then please run "git submodule update" to ensure all the submodules are at 
their correct commits.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel DPG Cloud Engineering



_______________________________________________
Interest mailing list
Interest at qt-project.org
https://lists.qt-project.org/listinfo/interest
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20211004/152c7df0/attachment.html>


More information about the Interest mailing list