[CMake] cmake qt4 for dummies

2010-11-24 Thread luxInteg
Greetings, I am learning cmake. I am now having a go at learning to compile a qt4 project wuth cmake. I am starting with qt-4.6.2 and I want to play with compiling a small project into a library. From what I can discern most things seem straightforward but some files

Re: [CMake] cmake qt4 for dummies

2010-11-24 Thread David Cole
The example that demonstrates how to use BundleUtilities contains a Qt app. See the CMakeLists file in that project for clues about how to structure a Qt application. See also CMake itself, in the CMake/Source/QtDialog. And ParaView, too -- it's a Qt app. Start with the example, though, it's

Re: [CMake] cmake qt4 for dummies

2010-11-24 Thread David Cole
The BundleUtilities example may be found here, by the way: http://www.cmake.org/Wiki/BundleUtilitiesExample (Sorry for forgetting the link on the original reply...) On Wed, Nov 24, 2010 at 11:33 AM, David Cole david.c...@kitware.com wrote: The example that demonstrates how to use

Re: [CMake] cmake qt4 for dummies

2010-11-24 Thread luxInteg
On Wednesday 24 November 2010 16:33:24 David Cole wrote: The example that demonstrates how to use BundleUtilities contains a Qt app. See the CMakeLists file in that project for clues about how to structure a Qt application. See also CMake itself, in the CMake/Source/QtDialog. And ParaView,

Re: [CMake] cmake qt4 for dummies

2010-11-24 Thread David Cole
On Wed, Nov 24, 2010 at 1:09 PM, luxInteg lux-in...@btconnect.com wrote: On Wednesday 24 November 2010 16:33:24 David Cole wrote: The example that demonstrates how to use BundleUtilities contains a Qt app. See the CMakeLists file in that project for clues about how to structure a Qt

Re: [CMake] cmake qt4 for dummies

2010-11-24 Thread John Clayton
See the qt4_wrap_ui macro Sent from my iPhone On Nov 24, 2010, at 7:09 PM, luxInteg lux-in...@btconnect.com wrote: On Wednesday 24 November 2010 16:33:24 David Cole wrote: The example that demonstrates how to use BundleUtilities contains a Qt app. See the CMakeLists file in that project for

Re: [CMake] cmake qt4 for dummies

2010-11-24 Thread John Clayton
Woops, I meant the qt4_wrap_cpp macro. Sent from my iPhone On Nov 24, 2010, at 7:09 PM, luxInteg lux-in...@btconnect.com wrote: On Wednesday 24 November 2010 16:33:24 David Cole wrote: The example that demonstrates how to use BundleUtilities contains a Qt app. See the CMakeLists file in

Re: [CMake] cmake qt4 for dummies

2010-11-24 Thread luxInteg
On Wednesday 24 November 2010 17:35:16 John Clayton wrote: Woops, I meant the qt4_wrap_cpp macro. thanks v helpful ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Re: [CMake] cmake qt4 for dummies

2010-11-24 Thread luxInteg
On Wednesday 24 November 2010 17:11:52 David Cole wrote: I am not a Qt expert. But to the best of my knowledge, dealing with the moc, ui and qrc files and such is best handled by the QT4_* macros as demonstrated in the example that I already pointed you to*. thanks problem sorted