[CMake] QTCreator project to VS2008 problems

Oli Glaser oli at glasers.org
Fri Mar 19 10:17:07 EDT 2010


Thanks for all the help, I got it working. I was not including the automoc 
generated headers or wrapped ui in the executables, I was adding the 
original files instead.

----- Original Message ----- 
From: "John Drescher" <drescherjm at gmail.com>
To: "Michael Jackson" <mike.jackson at bluequartz.net>
Cc: <cmake at cmake.org>
Sent: Friday, March 19, 2010 1:40 PM
Subject: Re: [CMake] QTCreator project to VS2008 problems


>>> I may have worded that badly, so just to clarify - the QT I am using to
>>> create the VS2008 project (the one used with cmake) was compiled with
>>> VS2008, it's just the original code that was created in a mingw compiled
>>> QTCreator. I thought the point of cmake is to enable porting code from 
>>> one
>>> platform to another - or have I misunderstood completely?
>>>
>>> Oli
>>
>> CMake will generate a "build system" for your project on lots of 
>> different
>> platforms. Whether your code actually compiles on those systems is up to
>> you.
>>
>
> I can say that this works. I mean most of my cmake based Qt projects I
> develop on Visual Studio work on linux without much difficulty. There
> are some compiler and linker differences that I had to take care of
> though.
>
> John
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at 
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at: 
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
> 



More information about the CMake mailing list