Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt stuck at building
Forum Updated to NodeBB v4.3 + New Features

Qt stuck at building

Scheduled Pinned Locked Moved Solved General and Desktop
8 Posts 2 Posters 1.9k 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.
  • A Offline
    A Offline
    Ahmadinho
    wrote on last edited by
    #1

    Hello everybody,

    After I copied my QT project from one machine to another, its failing to build now, it gets stuck in the first step, keeps repeating it but nothing happens like this:

    C:/Qt/Qt5.13.2/5.13.2/mingw73_32/bin/qmake.exe -o Makefile ../PCIe/Project.pro -spec win32-g++ CONFIG+=qtquickcompiler
    C:/Qt/Qt5.13.2/5.13.2/mingw73_32/bin/qmake.exe -o Makefile ../PCIe/Project.pro -spec win32-g++ CONFIG+=qtquickcompiler

    Any idea why?

    Thanks.

    jsulmJ 1 Reply Last reply
    0
    • A Ahmadinho

      Hello everybody,

      After I copied my QT project from one machine to another, its failing to build now, it gets stuck in the first step, keeps repeating it but nothing happens like this:

      C:/Qt/Qt5.13.2/5.13.2/mingw73_32/bin/qmake.exe -o Makefile ../PCIe/Project.pro -spec win32-g++ CONFIG+=qtquickcompiler
      C:/Qt/Qt5.13.2/5.13.2/mingw73_32/bin/qmake.exe -o Makefile ../PCIe/Project.pro -spec win32-g++ CONFIG+=qtquickcompiler

      Any idea why?

      Thanks.

      jsulmJ Online
      jsulmJ Online
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Ahmadinho Do a complete rebuild: delete build folder, *.pro.user file, run qmake and build.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Ahmadinho
        wrote on last edited by
        #3

        @jsulm

        I did what you said, it didn't work, nothing changed, also for the qmake step, it gave me this output: mingw32-make: Nothing to be done for 'qmake_all'. , this is normal?

        Thanks.

        jsulmJ 1 Reply Last reply
        0
        • A Ahmadinho

          @jsulm

          I did what you said, it didn't work, nothing changed, also for the qmake step, it gave me this output: mingw32-make: Nothing to be done for 'qmake_all'. , this is normal?

          Thanks.

          jsulmJ Online
          jsulmJ Online
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Ahmadinho said in Qt stuck at building:

          Nothing to be done for 'qmake_all'. , this is normal?

          Are you sure you deleted build folder? This message means that it is already built.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • A Offline
            A Offline
            Ahmadinho
            wrote on last edited by
            #5

            Hi @jsulm ,

            Yes I deleted it, isnt qmake a step before building?

            1 Reply Last reply
            0
            • A Offline
              A Offline
              Ahmadinho
              wrote on last edited by Ahmadinho
              #6

              Hi,

              I have 2 projects, one builds normally one does not,

              the one that doesnt build have this as build step:
              03:20:20: Starting: "C:\Qt\Qt5.13.2\Tools\mingw730_32\bin\mingw32-make.exe" -j2
              C:/Qt/Qt5.13.2/5.13.2/mingw73_32/bin/qmake.exe -o Makefile ../PCIe/Project.pro -spec win32-g++ CONFIG+=debug CONFIG+=qml_debug

              while the one which builds does this and passes it normally:
              03:14:08: Starting: "C:\Qt\Qt5.13.2\Tools\mingw730_32\bin\mingw32-make.exe" -j2
              C:/Qt/Qt5.13.2/Tools/mingw730_32/bin/mingw32-make -f Makefile.Debug

              any idea why?

              jsulmJ 1 Reply Last reply
              0
              • A Ahmadinho

                Hi,

                I have 2 projects, one builds normally one does not,

                the one that doesnt build have this as build step:
                03:20:20: Starting: "C:\Qt\Qt5.13.2\Tools\mingw730_32\bin\mingw32-make.exe" -j2
                C:/Qt/Qt5.13.2/5.13.2/mingw73_32/bin/qmake.exe -o Makefile ../PCIe/Project.pro -spec win32-g++ CONFIG+=debug CONFIG+=qml_debug

                while the one which builds does this and passes it normally:
                03:14:08: Starting: "C:\Qt\Qt5.13.2\Tools\mingw730_32\bin\mingw32-make.exe" -j2
                C:/Qt/Qt5.13.2/Tools/mingw730_32/bin/mingw32-make -f Makefile.Debug

                any idea why?

                jsulmJ Online
                jsulmJ Online
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @Ahmadinho said in Qt stuck at building:

                any idea why?

                Since I don't have the pro file, no

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  Ahmadinho
                  wrote on last edited by
                  #8

                  The problem was because the .pro file had a timestamp greater than the machine current time, so advancing the date by a day solved this.

                  Will mark this as solved.

                  Thanks.

                  1 Reply Last reply
                  2

                  • Login

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