[Interest] qwt debug version not working with Qt-4.8.0
Andre Haupt
andre at bitwigglers.org
Thu Jan 19 09:55:38 CET 2012
On Thu, Jan 19, 2012 at 07:49:10AM +0100, Sujan Dasmahapatra wrote:
> I need specify each time that which dll I want to link in the .pro file. If build in debug mode I need to write
> LIBS += -LC:/Qt/4.8.0_nonsql/src/3rdparty/qwt-5.2.1/lib -lqwtd5
> If I build in release mode then I need to change it to
> LIBS += -LC:/Qt/4.8.0_nonsql/src/3rdparty/qwt-5.2.1/lib -lqwt5
>
> Then its working. How can I specify the both same time and automatically it should link the right dll. Any suggestion would be highly appreciated. Thanks Sujan
try this in your project file:
CONFIG( debug, debug|release ) {
LIBS += -LC:/Qt/4.8.0_nonsql/src/3rdparty/qwt-5.2.1/lib -lqwtd5
} else {
LIBS += -LC:/Qt/4.8.0_nonsql/src/3rdparty/qwt-5.2.1/lib -lqwt5
}
regards,
Andre
More information about the Interest
mailing list