[Qt-interest] Qt open source and VS 2008... how to make it work?
Stephen Jackson
spjackson42 at gmail.com
Thu Feb 18 19:42:08 CET 2010
On 18 February 2010 14:01, G. Allegri wrote:
> Hi, this is my very first message on this list, as I'm a newbie with
> Qt and cross-platform libraries.
> I need to use Qt with Visual Studio 2008. I know that the Commercial
> version has various facilites to integrate the two, but I would like
> to understand what is achievable with the open source one.
> Here a my two questions:
>
> 1 - the Open Source SDK installes the mingw libraries, while I can
> download the standlone vs 2008 libraries. Is it possible to make the
> development tools from the SDK use the latter? Can thay be installed
> side by side with the original mingw libraries?
>
Yes, you can install the standalone vs 2008 libraries in addition to the SDK.
In order to use these from QtCreator, select the menu option
Tools->Options->Qt4 and choose the vs 2008 installation.
> 2 - qmake can generate VS 2008 solutions and projects using the
> 'vcapp' template. I did a try:
>
> SOURCES = hello.cpp \
> main.cpp
>
> TEMPLATE = vcapp
> HEADERS += hello.h
> TARGET = helloworld
> CONFIG += qt
>
> but it generaes the following warnings:
>
> WARNING: Unable to generate output for:
> examples/qmake/tutorial//Makefile.Debug [TEMPLATE vcapp]
> WARNING: Unable to generate output for:
> examples/qmake/tutorial//Makefile.Release [TEMPLATE vcapp]
>
> Is the vcapp template only available with the Commercial version? If
> yes, I suppose I have to setup manually the VS project, and cannot
> leavarage on the qmake tool... I hope I'm wrong!
>
You get this error with the qmake that comes with the SDK. However,
the qmake that comes with the "standalone vs 2008 libraries" is able
to do this.
--
HTH,
Stephen Jackson
More information about the Qt-interest-old
mailing list