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" <[email protected]>
To: "Michael Jackson" <[email protected]>
Cc: <[email protected]>
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


_______________________________________________
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

Reply via email to