Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

issue with qmake release and debug version

$
0
0
Hi guys, i want to be able to build the debug and the release version of my program in the following way. If i just type qmake in the console i want to build the makefiles for the debug version. However when i type qmake CONFIG+=“release” i want to build the release version. I have tried several options but I always stuck at the same point. If i add to my .pro file CONFIG -= release it builds me the debug version in the default case, which would be perfect. However, if i type qmake CONFIG+=“release” then this does not have any effect, since the CONFIG -= release overwrites the setting again :( Can someone help me with this? How can i specify that any parameter given from outside overwrites the corresponding parameter in a .pro file? Thanks in advance, XuS

Viewing all articles
Browse latest Browse all 18427

Trending Articles