No sense error while building QT5.12 from Git
Solved
Mobile and Embedded
-
Hello everyone,
While I am trying to build Qt 5.12 from Git, I use commands,git clone https://github.com/qt/qt5 cd qt5 ./init-repository -f --module-subset=default,-qtwebkit,-qtwebkit-examples,-qtwebengine
But in my clone, the /qt5/qtbase folder is empty. And when I try to configure the build with the presets,
../qt5/configure -release -opengl es2 -device linux-dragonboard \ -device-option CROSS_COMPILE=/home/closx/linaro/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu- \ -sysroot /home/closx/linaro/sysroot -opensource \ -confirm-license -make libs -prefix /usr/local/qt5dragon \ -extprefix /home/closx/linaro/qt5dragon \ -hostprefix /home/closx/linaro/qt5-qmake -v -nomake examples -nomake tests
It of course gives an error like
/home/closx/linaro/qt5/qtbase/configure not found. Did you forget to run "init-repository"?
How can I insert "configure" and all needed files, manually, into the qtbase folder?
Thanks, -
Hi
I dont know how you get GIT to do it
but if you get tired of fiddling with it
you could just grab the source directly.
https://download.qt.io/official_releases/qt/5.12/5.12.4/single/ -
Allright, thank you for your answer <3
Just in case if someone faces the same issue, just change git source from https://github.com/qt/qt5 to git://code.qt.io/qt/qt5.git//USE: git clone git://code.qt.io/qt/qt5.git //INSTEAD OF: git clone https://github.com/qt/qt5