[Interest] qwt debug version not working with Qt-4.8.0

Sujan Dasmahapatra sdh at lmwindpower.com
Thu Jan 19 07:49:10 CET 2012


Rathmann

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

Kind regards,


Sujan Dasmahapatra
Project Leader, Aero Group
CE - Aero Group

Tel  +91 80 66470248
Mob  
sdh at lmwindpower.com


LM Wind Power Blades
lmwindpower.com

Together we capture the wind to power a cleaner world


This e-mail and any attachments are confidential. If you are not the named or intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Any unauthorized disclosure, use or storage is prohibited and might be unlawful.
-----Original Message-----
From: Uwe Rathmann [mailto:Uwe.Rathmann at tigertal.de] 
Sent: Thursday, January 19, 2012 12:09 PM
To: List for both Qwt users and developers
Subject: Re: qwt debug version not working with Qt-4.8.0

On 01/18/2012 03:57 PM, David Stranz wrote:
> Also be sure you are not mixing apples with oranges.  In debug mode, ALL
> of the DLLs must be debug DLLs.  You can't mix release and debug DLLs in
> the same build in Windows.  Also make sure that the compiler flags that
> select debug vs. release mode are set properly.

When the application is running in release mode without problems I bet 
the Qt libraries are in built in release mode - like those from the 
binary packages from Nokia are.

Uwe

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
qwt-interest mailing list
qwt-interest at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qwt-interest



More information about the Interest mailing list