[Qt-interest] Adding QT 4.5 to an existing Win32 project
Karol Krizka
kkrizka at gmail.com
Mon May 25 11:15:26 CEST 2009
On Mon, 2009-05-25 at 15:22 +0800, Extra Kun wrote:
> Hi,
>
> I am currently working on a project that uses Ogre3D - it has its own wizard to produce a working project. I would like to add QT 4.5 support to OGRE3D but I cannot use the Visual Studio Add-in as it is for a new project. How do I add the QT 4.5 support to an existing project and still have the automated moc'ing?
>
> I have tried bringing some lines over from a visual studio qt project to a generic win32 project and copy the libraries needed over, but no luck. What else is the VS add-in doing under the hood?
>
> Thanks in advance!
>
I usually use an external build configuration system (qmake or CMAKE),
and then export a VC++ project. For example, setup a .pro file with the
list of your source codes, Ogre3D paths/libs and run:
qmake -t vcapp
This also gives you the ability to compile on other platforms, if you so
desire.
--
Cheers,
Karol Krizka
More information about the Qt-interest-old
mailing list