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
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to