[Qt-interest] Error compiling QtSingleApplication-2.6 as Visual Studio 2008 project
Ross Driedger
ross at earz.ca
Thu Dec 17 22:39:30 CET 2009
On Thu, 17 Dec 2009 13:51:52 -0500, <qt-interest-request at trolltech.com>
wrote:
> We are trying to compile QtSingleApplication library as a Visual Studio
> 2008 Solution to generate an external dll to link it dynamically at our
> project, we have compile the QtSingleApplication library using "qmake"
> and "nmake" commands succesfully, but if we try to compile as a Visual
> Studio Solution we have some problems.
Hi Marc,
Just so I understand, are you trying to have a separate project for the
solution?
I have used this solution many times with VS 2005 and with applications.
All that is required for it to work for me is to have the .pri file
referenced in the .pro that you want to include the solution and qmake
will put the approriate settings in the .vcproj.
For my main app .pro file I have the line:
include(C:\Qt\4.5.1\solutions\single\src\qtsingleapplication.pri)
I can also import the .pro from the menu (using VS Integration) without
issues, but I don't have to construct a .vcproj for the solution itself.
Again, I am not using VS 2008 (in truth, I'm trying to move away from VS)
nor have I tried using the solution in a dll, so your mileage may vary.
I hope that is of some help.
Ross
--
"My music is best understood by children and animals. "
Igor Stravinsky
Ross Driedger
ross_at_earz.ca
More information about the Qt-interest-old
mailing list