On Fri, Feb 12, 2010 at 09:07:35PM +0200, John Bull wrote: > Sorry if there is confusion in the question asked earlier. > I need to compile a msvc++ project that made use of qt.
Just to confirm: You want to build a Qt based application using the Microsoft Compiler. That's perfectly possible. > From what I understand, linking to the libraries just dont work. > One has to integrate Qt for msvc++ app. You need to make sure moc, uic, rcc are called properly when needed. There are several possibilities to do that, I am aware of: 1. using the Visual Studio IDE with Qt integration/addin. 2. using the Visual Studio IDE with manually created Custom Build Steps, 3. using qmake and nmake from a Visual Studio Command Prompt, 4. using Qt Creator. > http://geeks.netindonesia.net/blogs/risman/archive/2009/04/02/qt-4-5-with-visual-studio-2008-vc-express.aspx That's choosing option 1, this should work. [However, the reason given there ("My problem with Qt Creator is it uses MingGW (gcc) compiler which is nowhere near as good as VC++ 2008.") is outdated if not misleading as Qt Creator can use both MinGW and the Microsoft compiler, and there are also precompiled binaries at http://get.qt.nokia.com/qt/source/qt-win-opensource-4.6.1-vs2008.exe, no need to wait for 4 1/2 hours anymore] > I followed this link once and it worked (on a vista machine), but now I > can't find what I am doing wrong. I don't know either. Andre' _______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
