[Qt-creator] Control where the compiled object files go?

Ladnar, Marc Marc.Ladnar at ksab.kroschu.com
Mon Nov 9 15:39:21 CET 2009


Hi,

just look inside the qmake documentation...

UI_DIR = .qtSol
UI_HEADERS_DIR = .qtSol
UI_SOURCES_DIR = .qtSol
MOC_DIR = .qtSol
OBJECTS_DIR = .qtSol
RCC_DIR = .qtSol 

These are some flags for defining where the compiled parts should go to.
In your case, OBJECTS_DIR should help.

Have a nice day,  Marc Ladnar

-----Ursprüngliche Nachricht-----
Von: Stephen Chu [mailto:stephen at ju-ju.com] 
Gesendet: Montag, 9. November 2009 15:36
An: qt-creator at trolltech.com
Betreff: [Qt-creator] Control where the compiled object files go?

Hi

Is there a way to control where the compiled object (.o) files go? I'd 
like to put them in separate folder for debug and release builds so they 
don't overwrite each other every time I switch configuration and have to 
manually clean the project. It would also help separate them between 
builds for different OS.

I tried DEST variable but it only place the final app (I am on a Mac) 
into it. All the .o files still are placed along with the .cpp files.

Thanks.

--
Stephen Chu
_______________________________________________
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