Hi Sujan,
you can write conditions like this in your pro file
CONFIG(debug, debug|release) {
message(Debug Mode!)
} else {
message(Release Mode!)
}
for detailed description look at qmake reference.
On Thursday 19 January 2012 12:19 PM, Sujan Dasmahapatra wrote:
> 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
> [email protected]
>
>
> 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:[email protected]]
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qwt-interest
> _______________________________________________
> Interest mailing list
> [email protected]
> http://lists.qt-project.org/mailman/listinfo/interest
>
--
Regards,
Pritam
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further, you are
not
to copy, disclose, or distribute this e-mail or its contents to any other
person and
any such actions are unlawful. This e-mail may contain viruses. Infosys has
taken
every reasonable precaution to minimize this risk, but is not liable for any
damage
you may sustain as a result of any virus in this e-mail. You should carry out
your
own virus checks before opening the e-mail or attachment. Infosys reserves the
right to monitor and review the content of all messages sent to or from this
e-mail
address. Messages sent to or from this e-mail address may be stored on the
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest