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. [Solved] qmake stuck in infinite loop

[Solved] qmake stuck in infinite loop

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 2.7k Views 1 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.
  • V Offline
    V Offline
    vostreltsov
    wrote on last edited by
    #1

    Hi there.

    I'm experiencing quite strange behaviour of qmake on Windows 7.

    I have 3 .pro projects that share some common code, and that code is taken out to a separate .pri project. It is included like this:
    @include(../common/common.pri)@

    Now, when I try to build these projects on Windows, I get this:
    @
    19:57:30: Running steps for project Backend...
    19:57:30: Starting: "C:\Qt\qt-5.4.0-x86-mingw492r0-dw2-angle\qt-5.4.0-x86-mingw492r0-dw2\bin\qmake.exe" D:\dev\lampscontrol\backend\Backend.pro -r -spec win32-g++ "CONFIG+=release"
    19:57:31: The process "C:\Qt\qt-5.4.0-x86-mingw492r0-dw2-angle\qt-5.4.0-x86-mingw492r0-dw2\bin\qmake.exe" exited normally.
    19:57:31: Starting: "C:\Qt\qt-5.4.0-x86-mingw492r0-dw2-angle\mingw64\bin\mingw32-make.exe"
    C:\Qt\qt-5.4.0-x86-mingw492r0-dw2-angle\qt-5.4.0-x86-mingw492r0-dw2\bin\qmake.exe -spec win32-g++ CONFIG+=release -o Makefile ..\backend\Backend.pro
    C:\Qt\qt-5.4.0-x86-mingw492r0-dw2-angle\qt-5.4.0-x86-mingw492r0-dw2\bin\qmake.exe -spec win32-g++ CONFIG+=release -o Makefile ..\backend\Backend.pro
    C:\Qt\qt-5.4.0-x86-mingw492r0-dw2-angle\qt-5.4.0-x86-mingw492r0-dw2\bin\qmake.exe -spec win32-g++ CONFIG+=release -o Makefile ..\backend\Backend.pro
    C:\Qt\qt-5.4.0-x86-mingw492r0-dw2-angle\qt-5.4.0-x86-mingw492r0-dw2\bin\qmake.exe -spec win32-g++ CONFIG+=release -o Makefile ..\backend\Backend.pro
    C:\Qt\qt-5.4.0-x86-mingw492r0-dw2-angle\qt-5.4.0-x86-mingw492r0-dw2\bin\qmake.exe -spec win32-g++ CONFIG+=release -o Makefile ..\backend\Backend.pro
    C:\Qt\qt-5.4.0-x86-mingw492r0-dw2-angle\qt-5.4.0-x86-mingw492r0-dw2\bin\qmake.exe -spec win32-g++ CONFIG+=release -o Makefile ..\backend\Backend.pro
    C:\Qt\qt-5.4.0-x86-mingw492r0-dw2-angle\qt-5.4.0-x86-mingw492r0-dw2\bin\qmake.exe -spec win32-g++ CONFIG+=release -o Makefile ..\backend\Backend.pro
    C:\Qt\qt-5.4.0-x86-mingw492r0-dw2-angle\qt-5.4.0-x86-mingw492r0-dw2\bin\qmake.exe -spec win32-g++ CONFIG+=release -o Makefile ..\backend\Backend.pro
    C:\Qt\qt-5.4.0-x86-mingw492r0-dw2-angle\qt-5.4.0-x86-mingw492r0-dw2\bin\qmake.exe -spec win32-g++ CONFIG+=release -o Makefile ..\backend\Backend.pro
    makefile:186: recipe for target 'Makefile' failed
    mingw32-make: *** [Makefile] Interrupt
    19:57:43: The process "C:\Qt\qt-5.4.0-x86-mingw492r0-dw2-angle\mingw64\bin\mingw32-make.exe" exited with code -1.
    19:57:43: Canceled build/deployment.
    19:57:43: Elapsed time: 00:14.
    @

    This happens occasionly, but only on Windows. On linux it builds without any problems.

    Has anybody experienced this? Any ideas how to fix this? Thanks.

    1 Reply Last reply
    0
    • H Offline
      H Offline
      hipersayan_x
      wrote on last edited by
      #2

      Yes, I (and other users) suffered of this bug, in my case was a conflict between an installation of Qt SDK and MSYS, I solved it by calling mingw32-make instead of make. All of this when compiling from a MSYS console.

      1 Reply Last reply
      0
      • V Offline
        V Offline
        vostreltsov
        wrote on last edited by
        #3

        Thanks, building with mingw32-make from MSYS console solved the problem.

        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