[Qt-creator] [BUG] Release builds are actually debug builds

Alexandre Beber listsbeber at gmail.com
Mon Nov 24 14:51:13 CET 2008


Hi there.

Still building debug instead of release here. My version is:

Qt Creator 0.9.1
Based on Qt 4.5.0
Built on Nov 24 2008 at 04:41:45
Using revision 51601da17f5cfe2f521a2987f17e0d3e49b8a009

On Windows Vista.

Another thing i noticed while checking both Makefile.Debug and
.Release is that some paths of INCPATH are added twice. Like that:

INCPATH       = -I"c:\Qt\QtCreator\qt\include\QtCore"
-I"c:\Qt\QtCreator\qt\include\QtCore"
-I"c:\Qt\QtCreator\qt\include\QtNetwork"
-I"c:\Qt\QtCreator\qt\include\QtNetwork"
-I"c:\Qt\QtCreator\qt\include\QtGui"
-I"c:\Qt\QtCreator\qt\include\QtGui" -I"c:\Qt\QtCreator\qt\include"
-I"c:\Qt\QtCreator\qt\include\ActiveQt" -I"..\release"
-I"..\..\server" -I"." -I"c:\Qt\QtCreator\qt\mkspecs\win32-g++"

I know this is nothing serious, but just to understand, this happens
because I "#include" some header on multiple files in my project?

Thanks!

Alexandre

2008/11/21 Daniel Teske <daniel.teske at nokia.com>:
>> When I try to do a release build in Qt Creator it makes a debug build.
>> The culprit is that even though you select release as an active
>> configuration, it still passes debug to make.
>>
>> You can fix this by editing the project, but it's not supposed to be this
>> way is it now?
> Obviously not, that bug is already fixed in the snapshot.
>
> daniel
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>



More information about the Qt-creator-old mailing list