[Qt-interest] Visual Studio question

BRM bm_witness at yahoo.com
Thu Oct 14 15:42:40 CEST 2010


The simplest way to do this:

CONFIG(debug,debug|release) {
    DESTDIR = ../../../lib.debug
} else {
    DESTDIR = ../../../lib
}

Adjust as desired - works on all platforms supported by QMake.
To create/update Visual Studio Projects just run:

C:\..\> qmake -tp vc <project file>

Ben


>
>From: David Boosalis <david.boosalis at gmail.com>
>To: QtInterest <qt-interest at trolltech.com>
>Sent: Wed, October 13, 2010 9:57:13 PM
>Subject: [Qt-interest] Visual Studio question
>
>I have a Qt project which consists of three .pro files.  The first two build 
>static libraries and the last one builds a executable that links in the two 
>static libs.  
>
>
>Normally I build the libs from the command line (qmake, nmake, nmake install).  
>The libraries then get installed to a lib directoy one level up.   I would like 
>to build these libaries inside MS VS2008. Inside VS2008 the  build goes fine but 
>the installs do not work as in the command line build. From the comand line 
>installs (nmake install) go to ../lib and not ./debug or ./release.  From Visual 
>Studio  I use the Qt-->Open Qt Project.  
>
>
>Can someone tell me how I can tell VS2008 to send the library to ../lib and not 
>go to ./debug or ./release.
>
>Thank you in advance for any advise.
>
>-David 
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101014/ef32eca3/attachment.html 


More information about the Qt-interest-old mailing list