<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[Solved] qmake stuck in infinite loop]]></title><description><![CDATA[<p dir="auto">Hi there.</p>
<p dir="auto">I'm experiencing quite strange behaviour of qmake on Windows 7.</p>
<p dir="auto">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:<br />
<a class="plugin-mentions-user plugin-mentions-a" href="/user/include">@<bdi>include</bdi></a>(../common/common.pri)@</p>
<p dir="auto">Now, when I try to build these projects on Windows, I get this:<br />
@<br />
19:57:30: Running steps for project Backend...<br />
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\<a href="http://Backend.pro" target="_blank" rel="noopener noreferrer nofollow ugc">Backend.pro</a> -r -spec win32-g++ "CONFIG+=release"<br />
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.<br />
19:57:31: Starting: "C:\Qt\qt-5.4.0-x86-mingw492r0-dw2-angle\mingw64\bin\mingw32-make.exe"<br />
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\<a href="http://Backend.pro" target="_blank" rel="noopener noreferrer nofollow ugc">Backend.pro</a><br />
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\<a href="http://Backend.pro" target="_blank" rel="noopener noreferrer nofollow ugc">Backend.pro</a><br />
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\<a href="http://Backend.pro" target="_blank" rel="noopener noreferrer nofollow ugc">Backend.pro</a><br />
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\<a href="http://Backend.pro" target="_blank" rel="noopener noreferrer nofollow ugc">Backend.pro</a><br />
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\<a href="http://Backend.pro" target="_blank" rel="noopener noreferrer nofollow ugc">Backend.pro</a><br />
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\<a href="http://Backend.pro" target="_blank" rel="noopener noreferrer nofollow ugc">Backend.pro</a><br />
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\<a href="http://Backend.pro" target="_blank" rel="noopener noreferrer nofollow ugc">Backend.pro</a><br />
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\<a href="http://Backend.pro" target="_blank" rel="noopener noreferrer nofollow ugc">Backend.pro</a><br />
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\<a href="http://Backend.pro" target="_blank" rel="noopener noreferrer nofollow ugc">Backend.pro</a><br />
makefile:186: recipe for target 'Makefile' failed<br />
mingw32-make: *** [Makefile] Interrupt<br />
19:57:43: The process "C:\Qt\qt-5.4.0-x86-mingw492r0-dw2-angle\mingw64\bin\mingw32-make.exe" exited with code -1.<br />
19:57:43: Canceled build/deployment.<br />
19:57:43: Elapsed time: 00:14.<br />
@</p>
<p dir="auto">This happens occasionly, but only on Windows. On linux it builds without any problems.</p>
<p dir="auto">Has anybody experienced this? Any ideas how to fix this? Thanks.</p>
]]></description><link>https://forum.qt.io/topic/51402/solved-qmake-stuck-in-infinite-loop</link><generator>RSS for Node</generator><lastBuildDate>Mon, 06 Apr 2026 11:44:45 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/51402.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 19 Feb 2015 17:08:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [Solved] qmake stuck in infinite loop on Sat, 21 Feb 2015 15:21:30 GMT]]></title><description><![CDATA[<p dir="auto">Thanks, building with mingw32-make from MSYS console solved the problem.</p>
]]></description><link>https://forum.qt.io/post/262420</link><guid isPermaLink="true">https://forum.qt.io/post/262420</guid><dc:creator><![CDATA[vostreltsov]]></dc:creator><pubDate>Sat, 21 Feb 2015 15:21:30 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] qmake stuck in infinite loop on Sat, 21 Feb 2015 03:30:24 GMT]]></title><description><![CDATA[<p dir="auto">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.</p>
]]></description><link>https://forum.qt.io/post/262397</link><guid isPermaLink="true">https://forum.qt.io/post/262397</guid><dc:creator><![CDATA[hipersayan_x]]></dc:creator><pubDate>Sat, 21 Feb 2015 03:30:24 GMT</pubDate></item></channel></rss>