[Qt-interest] Visual Studio question

John McClurkin jwm at nei.nih.gov
Thu Oct 14 14:15:06 CEST 2010


David Boosalis wrote:
> 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
In Visual Studio, select the library project and open the properties 
page. Expand the Configuration Properties tree and select the Librarian 
entry. Set the Output File entry to put the library where you want it.



More information about the Qt-interest-old mailing list