[Qt-interest] vs2005 / vs2008 / 4.5.2 continually rebuilds project

Oliver.Knoll at comit.ch Oliver.Knoll at comit.ch
Mon Jul 6 09:52:47 CEST 2009


Peter Lee wrote on Friday, July 03, 2009 5:55 PM:

> ...
> I've just reinstalled 4.5.0 - and it's working fine.  I've just
> regenerated the vs2008 projects using qmake 4.5.0 and qmake 4.5.2...
> and there are some differences.  The 4.5.0 file is 4184KB, the 4.5.2
> is 6287KB.  Mostly the changes are just 4.5.x etc.... but in the
> "header files" section... each entry is different.  I've attached a
> small example.     

Oh, okay, that also answers my previous question how you generate the Visual Studio Project files (with qmake obvioulsy). Sorry, it's early here ;)

Anyway, what about a simple "Hello Qt" program? Try compiling one of the Qt example programs. Also try using the Visual Studio Qt Integration/AddOn (in case you are not using the Visual Studio *Express* version, which does not support plugins), if possible, as to create a Qt project from scratch. Would that make a difference?

If it works with the VS Qt Integration plugin and a simple "Hello Qt" (which also contains some moc'ing steps etc.), it would track down the culprit in the Visual Studio compiler settings which are set by qmake -t vcapp.

Oh, and really double-check that you are using the right version of qmake (check with qmake -v), so you don't mix up qmake from Qt 4.5.0 with the library Qt 4.5.2 - you never know.

Cheers, Oliver
-- 
Oliver Knoll
Dipl. Informatik-Ing. ETH
COMIT AG - ++41 79 520 95 22



More information about the Qt-interest-old mailing list