how with qmake create Makefile
with param
CXXFLAGS = -pipe -g -O2
i mean i need to get debug version with optimization
how with qmake create Makefile
with param
CXXFLAGS = -pipe -g -O2
i mean i need to get debug version with optimization
By reading the docs.Originally Posted by evgenM
http://doc.trolltech.com/4.1/qmake-v...cxxflags-debug
yes - but its unusable
more easy correct Makefile manually
Why ?Originally Posted by evgenM
IMO it is easier to write qmake QMAKE_CXXFLAGS_DEBUG+="-g -O2" (or even put the statement directly into the project file if you want than action to persist) than correcting Makefiles manually.Originally Posted by evgenM
Moving thread to newbie!
its unusable for me
case i dont know contents of pro file
and if i want use this flag i must know if is debug or release version
and if it multi threads app
i must use only command like
qmake -o Makefile "QMAKE_CFLAGS_DEBUG += -O3" pro.pro
btw how to change in QMAKE_CFLAGS_RELEASE correct -O2 to -O3
i can't even if i use pro file?
Then set both QMAKE_CXXFLAGS_RELEASE and QMAKE_CXXFLAGS_DEBUG.Originally Posted by evgenM
QMAKE_CXXFLAGS_RELEASE -= -O2Originally Posted by evgenM
QMAKE_CXXFLAGS_RELEASE += -O3
http://doc.trolltech.com/4.1/qmake-a...html#operators
Bookmarks