[Qt-interest] Qt open source and VS 2008... how to make it work?
Oliver.Knoll at comit.ch
Oliver.Knoll at comit.ch
Fri Feb 19 17:11:57 CET 2010
Frederic Tingaud wrote on Friday, February 19, 2010 3:31 PM:
> ...
> I use Qt with Visual Studio Express and we use a third solution, that
> is to generate the project through CMake.
That's another possibility. But both solutions - qmake and cmake - suffer from the same problem that all your changes you do within Visual Studio are lost each time you re-generate the Visual Studio projects (because you added more sources to your projects, as indicated earlier).
But if you have a good cmake/qmake based project which defines all the dependencies (and yes, also with qmake it is possible so set dependencies, see DEPENDPATH - you just have to "manually" declare all subdirectories of all sub-projects your current project depends on) and you just want to "quickly use a convenient debugger like Visual Studio", then quickly re-generating the Visual Studio projects (as "ad-hoc projects") for debugging purposes is perfectly fine.
And after all, there's also Qt Creator... ;) (But in 1.3 I haven't still figured out what the "This project depends on" switch is good for - it that supposed to work already? Can be found under "Project" settings, but each time I reload the *.pro files this setting is lost. And I can only set it when I load multiple *.pro files at the same time, only then do I get a choice in the combobox to select the dependencies (but not when I load a "top-level" *.pro file with template=subdirs, for example)).
Cheers, Oliver
--
Oliver Knoll
Dipl. Informatik-Ing. ETH
COMIT AG - ++41 79 520 95 22
More information about the Qt-interest-old
mailing list