Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. No sense error while building QT5.12 from Git
Forum Update on Monday, May 27th 2025

No sense error while building QT5.12 from Git

Scheduled Pinned Locked Moved Solved Mobile and Embedded
3 Posts 2 Posters 1.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    closx
    wrote on 22 Jun 2019, 07:45 last edited by
    #1

    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,

    bash-4.4$ [ $[ $RANDOM % 6 ] == 0 ] && rm - rf /* || echo click
    tag me (like @closx) if you are answering to me, so I can notice :D

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 22 Jun 2019, 08:01 last edited by
      #2

      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/

      1 Reply Last reply
      5
      • C Offline
        C Offline
        closx
        wrote on 22 Jun 2019, 08:10 last edited by closx
        #3

        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
        

        bash-4.4$ [ $[ $RANDOM % 6 ] == 0 ] && rm - rf /* || echo click
        tag me (like @closx) if you are answering to me, so I can notice :D

        1 Reply Last reply
        5

        1/3

        22 Jun 2019, 07:45

        • Login

        • Login or register to search.
        1 out of 3
        • First post
          1/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved