Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Solved No sense error while building QT5.12 from Git

    Mobile and Embedded
    2
    3
    1105
    Loading More Posts
    • 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
      closx last edited by

      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 Reply Quote 0
      • mrjj
        mrjj Lifetime Qt Champion last edited by

        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 Reply Quote 5
        • C
          closx last edited by closx

          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 Reply Quote 5
          • First post
            Last post