[Qt-creator] Release build?

Manoj Agrawal manoj.a at embitel.com
Tue Nov 11 05:46:12 CET 2008


Yes, I also noticed the same. It passes "debug" as an argument to make 
even in release mode. I tried to make the argument "release" and it 
compiled fine. Now the problem is that if I try to run my project in 
release mode, it starts it from debug folder only!! How can I change for 
the time being?

Regards,
Manoj

Israel Brewster wrote:
> Maybe I'm just missing something here, but it looks like even on the  
> "release" build setting, QTCreator tries to build a debug release,  
> specifically linking against the debug Qt libraries. When I look at  
> the "Build Steps" section of the release build settings, I notice the  
> following line: CONFIG+=debug_and_release, which I can't seem to  
> change. Additionally, when I tried building my application using a  
> copy of Qt 4.4.3 that I had built (mistakenly, but whatever) with the - 
> release flag, I got a linker error complaining that the QtSql_debug  
> library could not be found (obviously, since I forgot to build it). Is  
> there some way to convince QTCreator to do a "pure" release build?  
> Thanks.
>
> -----------------------------------------------
> Israel Brewster
> Computer Support Technician
> Frontier Flying Service Inc.
> 5245 Airport Industrial Rd
> Fairbanks, AK 99709
> (907) 450-7250 x293
> -----------------------------------------------
>
>
> _______________________________________________
> 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