Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Building QT source stuck in the configure stage
Forum Updated to NodeBB v4.3 + New Features

Building QT source stuck in the configure stage

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
9 Posts 4 Posters 616 Views 2 Watching
  • 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.
  • F Offline
    F Offline
    fareshmoneim
    wrote on last edited by fareshmoneim
    #1

    I am trying to build Qt 5.15.1 by cloning the repo and following the README but I came across an issue an issue.

    Everything went seemingly well till the step where I needed to run the configure file following the way mentioned in the README first I had an issue that required me to add a -platform tag so I did.

      ../qt5/configure -developer-build -opensource -nomake examples -nomake tests -platform win32-g++
    

    Executing the command resulted in the following output

    + cd qtbase
    + /e/qt5/qtbase/configure -top-level -prefix /e/qt5/qtbase -opensource -nomake tests -platform win32-g++
    <srcbase> = e:/qt5/qtbase
    <bldbase> = e:/qt5-build/qtbase
    <outbase> = e:/qt5-build/qtbase
    Creating qmake...
    .......................................................................Done.
    Info: creating super cache file E:\qt5-build\.qmake.super
    Info: creating cache file E:\qt5-build\.qmake.cache
    Info: creating stash file E:\qt5-build\.qmake.stash
    

    And it was stuck there and never proceeded, I waited over an hour and it still won't proceed.

    Even when I try executing the next step which is make -j4 there is no make file so the command doesn't work. I think it is worth mentioning that there is a qt.pro file in the directory, not exactly sure if it has anything to do with my issue or not.

    1 Reply Last reply
    0
    • Christian EhrlicherC Online
      Christian EhrlicherC Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      /e/qt5/qtbase/configure

      make -j4

      As already told you on SO remove bash and msys stuff from your PATH env var. The correct make tool for MinGW is mingw32-make. Also why do you want to build 5.15.1 by yourself - there is a precompiled 5.15.2 available through the online installer.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      0
      • F Offline
        F Offline
        fareshmoneim
        wrote on last edited by
        #3

        image.png

        I can't seem to find any bash/msys stuff in my PATH env var, and to answer your second question I am building an application that will be part of another bigger application written in qt 5.15.1 it is a constraint I need to follow.

        JonBJ 1 Reply Last reply
        0
        • Christian EhrlicherC Online
          Christian EhrlicherC Online
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          You have, otherwise you would neither get the output

          /e/qt5/qtbase/configure

          nor would be able to call 'make.exe' as this is not available for MinGW.

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          1 Reply Last reply
          0
          • F Offline
            F Offline
            fareshmoneim
            wrote on last edited by
            #5

            Sadly this doesn't seem to work for me, I checked to make sure I don't have any msys/bash related env vars and tried rerunning the command, and still don't seem to be getting anywhere. I really appreciate your patience and time though.

            1 Reply Last reply
            0
            • F fareshmoneim

              image.png

              I can't seem to find any bash/msys stuff in my PATH env var, and to answer your second question I am building an application that will be part of another bigger application written in qt 5.15.1 it is a constraint I need to follow.

              JonBJ Offline
              JonBJ Offline
              JonB
              wrote on last edited by
              #6

              @fareshmoneim said in Building QT source stuck in the configure stage:

              I can't seem to find any bash/msys stuff in my PATH env var

              I don't use Windows, so please don't ask me further if this is wrong, but might things like make & bash be in your C:\Program Files (x86)\GnuWin32\bin directory on your PATH?

              F 1 Reply Last reply
              0
              • JonBJ JonB

                @fareshmoneim said in Building QT source stuck in the configure stage:

                I can't seem to find any bash/msys stuff in my PATH env var

                I don't use Windows, so please don't ask me further if this is wrong, but might things like make & bash be in your C:\Program Files (x86)\GnuWin32\bin directory on your PATH?

                F Offline
                F Offline
                fareshmoneim
                wrote on last edited by
                #7

                @JonB I thought so as well but I tried removing it and still the same, thank you for your comment though.

                1 Reply Last reply
                1
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  Hi,

                  Which terminal are you using when doing this ?

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • Christian EhrlicherC Online
                    Christian EhrlicherC Online
                    Christian Ehrlicher
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    where make.exe, where sh.exe and where bash.exe willshow you from where it's picked up

                    Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                    Visit the Qt Academy at https://academy.qt.io/catalog

                    1 Reply Last reply
                    0

                    • Login

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