[CMake] MSVC Qt Integration

clinton at elemtech.com clinton at elemtech.com
Thu Jul 10 14:12:06 EDT 2008


Is it not possible for Trolltech to make their Qt integration work with 
project files that they didn't generate?

Last time I tried, it seemed more things didn't work than I would have 
expected.

Clint

On Thursday 10 July 2008 9:48:43 am Thomas Burdick wrote:
> I'm trying to get Qt integration to work in visual studio using cmake to
> generate the project and solution files.
>
> So far I've gotten part of the puzzle together using set_target_properties
> as described in the documentation to set the VS_KEYWORD.
>
> There is another piece though, in the solution file itself in Qt
> integration based projects there is something like GlobalSection(Qt) as
> shown below. How would I go about doing this in CMake so I can once again
> have Qt integration working?
>
> Microsoft Visual Studio Solution File, Format Version 9.00
> # Visual Studio 2005
> Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test",
> "test\test.vcproj", "{6D8CFDDB-B43B-4DA1-935B-85406F4867FC}"
>     GlobalSection(Qt) = preSolution
>         Integration = True
>     EndGlobalSection
> EndProject
> Global
>     GlobalSection(SolutionConfigurationPlatforms) = preSolution
>         Debug|Win32 = Debug|Win32
>         Release|Win32 = Release|Win32
>     EndGlobalSection
>     GlobalSection(ProjectConfigurationPlatforms) = postSolution
>         {6D8CFDDB-B43B-4DA1-935B-85406F4867FC}.Debug|Win32.ActiveCfg =
> Debug|Win32
>         {6D8CFDDB-B43B-4DA1-935B-85406F4867FC}.Debug|Win32.Build.0 =
> Debug|Win32
>         {6D8CFDDB-B43B-4DA1-935B-85406F4867FC}.Release|Win32.ActiveCfg =
> Release|Win32
>         {6D8CFDDB-B43B-4DA1-935B-85406F4867FC}.Release|Win32.Build.0 =
> Release|Win32
>     EndGlobalSection
>     GlobalSection(SolutionProperties) = preSolution
>         HideSolutionNode = FALSE
>     EndGlobalSection
> EndGlobal




More information about the CMake mailing list