<?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[Odd compilation bugs]]></title><description><![CDATA[<p dir="auto">Hi,<br />
I've got some strange problems with one of my Qt projects (it's called gen1). The problem is that Qt Creator doesn't compile it, unless I manually delete the build folder of this project. If I don't, I get this error:<br />
@[debug\gen1.exe] Error 1</p>
<p dir="auto">mingw32-make[1]: *** [debug\gen1.exe] Error 1<br />
mingw32-make: *** [debug] Error 2@</p>
<p dir="auto">Moreover, if there's a bug in the code, instead of showing me where the problem is, I get this error:<br />
@[debug/mainwindow.o] Error 1</p>
<p dir="auto">mingw32-make[1]: *** [debug/mainwindow.o] Error 1<br />
mingw32-make: *** [debug] Error 2@</p>
<p dir="auto">The problem exists only in this single project. I've tried to make a new project and after copying the code and I've tried to reinstall Qt but it didn't solve my problem.</p>
<p dir="auto">Here's some info:<br />
Qt Creator 2.3.0<br />
Qt 4.7.4<br />
Windows 7 64-bit</p>
<p dir="auto">Here's the content of <a href="http://gen1.pro" target="_blank" rel="noopener noreferrer nofollow ugc">gen1.pro</a>:<br />
@QT       += core gui</p>
<p dir="auto">TARGET = gen1<br />
TEMPLATE = app</p>
<p dir="auto">SOURCES += main.cpp<br />
mainwindow.cpp</p>
<p dir="auto">HEADERS  += mainwindow.h</p>
<p dir="auto">FORMS    += mainwindow.ui@</p>
<p dir="auto">Any help is greatly appreciated.</p>
]]></description><link>https://forum.qt.io/topic/10541/odd-compilation-bugs</link><generator>RSS for Node</generator><lastBuildDate>Wed, 12 Aug 2026 15:14:08 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/10541.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 18 Oct 2011 17:05:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Odd compilation bugs on Wed, 19 Oct 2011 06:33:36 GMT]]></title><description><![CDATA[<p dir="auto">Thank you for the advice, but unfortunately it didn't work. I've created a new project in d:/gen1/ and I still get the same errors.</p>
<p dir="auto">I forgot to add that on Linux the compilation works fine.</p>
]]></description><link>https://forum.qt.io/post/113738</link><guid isPermaLink="true">https://forum.qt.io/post/113738</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Wed, 19 Oct 2011 06:33:36 GMT</pubDate></item><item><title><![CDATA[Reply to Odd compilation bugs on Tue, 18 Oct 2011 20:02:15 GMT]]></title><description><![CDATA[<p dir="auto">There is a known issue with using directories with spaces embedded in them.  The problem arises because of the directory "D:/stud/modelowanie i symulacja".  If you move your project to a different (non-spaced) directory, it should work properly.</p>
]]></description><link>https://forum.qt.io/post/113703</link><guid isPermaLink="true">https://forum.qt.io/post/113703</guid><dc:creator><![CDATA[mlong]]></dc:creator><pubDate>Tue, 18 Oct 2011 20:02:15 GMT</pubDate></item><item><title><![CDATA[Reply to Odd compilation bugs on Tue, 18 Oct 2011 18:15:50 GMT]]></title><description><![CDATA[<p dir="auto">The problem is that actually there are no errors:<br />
@Uruchamianie kroków budowania dla projektu gen1...<br />
Konfiguracja niezmieniona, krok qmake opuszczony.<br />
Uruchamianie "C:\QtSDK\mingw\bin\mingw32-make.exe"<br />
C:/QtSDK/mingw/bin/mingw32-make -f Makefile.Debug<br />
mingw32-make[1]: Entering directory <code>D:/stud/modelowanie i symulacja/1/gen1-build-desktop-debug' g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtCore" -I"c:\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtGui" -I"c:\QtSDK\Desktop\Qt\4.7.4\mingw\include" -I"c:\QtSDK\Desktop\Qt\4.7.4\mingw\include\ActiveQt" -I"debug" -I"." -I"..\gen1" -I"." -I"c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\win32-g++" -o debug\mainwindow.o ..\gen1\mainwindow.cpp mingw32-make[1]: Leaving directory </code>D:/stud/modelowanie i symulacja/1/gen1-build-desktop-debug'<br />
mingw32-make[1]: *** [debug/mainwindow.o] Error 1<br />
mingw32-make: *** [debug] Error 2@</p>
]]></description><link>https://forum.qt.io/post/113694</link><guid isPermaLink="true">https://forum.qt.io/post/113694</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Tue, 18 Oct 2011 18:15:50 GMT</pubDate></item><item><title><![CDATA[Reply to Odd compilation bugs on Tue, 18 Oct 2011 18:14:00 GMT]]></title><description><![CDATA[<p dir="auto">What is the actual error? That usually happens <em>before</em> the text you posted.</p>
]]></description><link>https://forum.qt.io/post/113692</link><guid isPermaLink="true">https://forum.qt.io/post/113692</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Tue, 18 Oct 2011 18:14:00 GMT</pubDate></item></channel></rss>