[Qt-interest] Qt open source and VS 2008... how to make it work?
David Ching
dc at remove-this.dcsoft.com
Fri Feb 19 03:23:07 CET 2010
"G. Allegri" <giohappy at gmail.com> wrote in message
news:e12429641002180601g5cfac594w954850bb194238e at mail.gmail.com...
> 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.
Welcome from a fellow Qt'er on Visual Studio!
> 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?
>
Qt now comes prebuilt for VS2008 RTM. If you are using that, I recommend
you simply download and install that:
http://qt.nokia.com/downloads/windows-cpp-vs2008
Note if you are using VS2008 SP1 and/or the ATL Security Update, the
prebuilt Qt won't work (as it is built with RTM) and you will need to build
it yourself. For detailed help on this, see my blog entry:
http://dcsoft.wordpress.com/2010/01/30/how-to-setup-qt-4-5-visual-studio-integration/
> 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!
>
> Thansk for leading me into the Qt world :)
No, the LPGL contains exactly what the Commercial does now. The Commercial
no longer gives any more features than LPGL.
-- David
More information about the Qt-interest-old
mailing list