javiergandia54 / tonatiuh

Automatically exported from code.google.com/p/tonatiuh
0 stars 0 forks source link

How can I specify debug vs release libraries to be used in the .pro files #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I've come across an issue when trying to run certain things in debug mode I
get an error in the console "QWidget: Must construct a QApplication before
a QPaintDevice"  

I've looked it up and it appears to occur when one of the dependencies was
compiled in a different configuration(debug or release).  I've run into the
problem when using qwtplot and now when using qxrunnner.  

Do you know of a way to set the .pro file use different versions of a
library for different configurations?  ie when compiling in release use
-lqxcppunit but when compiling the debug configuration use -lqxcppunitd  

Original issue reported on code.google.com by victorjf...@gmail.com on 25 Feb 2009 at 1:25

GoogleCodeExporter commented 8 years ago
The ShapeTroughParabolic plugin .pro file has been updated to use building type 
appropiete debug or release library. The following code can be valid:

CONFIG(debug, debug|release) {
    LIBS +=-L$$(TDE_ROOT)/local/lib -lCoind -lSoQtd
else:{
    LIBS +=-L$$(TDE_ROOT)/local/lib -lCoin -lSoQt
}

Original comment by amaiamut...@gmail.com on 14 May 2009 at 1:14

GoogleCodeExporter commented 8 years ago

Original comment by amaiamut...@gmail.com on 11 Feb 2010 at 8:42