Important: Please read the Qt Code of Conduct -

No sense error while building QT5.12 from Git

  • Hello everyone,
    While I am trying to build Qt 5.12 from Git, I use commands,

    git clone
    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?

  • Lifetime Qt Champion

    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.

  • Allright, thank you for your answer <3
    Just in case if someone faces the same issue, just change git source from to git://

    git clone git://
    git clone

Log in to reply