MantisBT - CMake
View Issue Details
0014355CMakeModulespublic2013-08-13 15:572014-06-02 08:37
Daniel Schepler 
Stephen Kelly 
normalfeatureN/A
closedfixed 
CMake 2.8.11.2 
CMake 3.0 
0014355: Implementation of qt4_add_executable/library
Here's a set of Qt4 utility macros I developed for a project here. Got permission from my supervisor to submit it here in case you'd be interested in adding it (they could potentially be useful for any project using Qt4). It would be suitable either as a separate addon, or as additional content to be incorporated into Qt4Macros.cmake.

The first macro, qt4_source_groups(), should be self-explanatory. The rest is mainly meant as support for the main macros, qt4_add_executable() and qt4_add_library(), which automate the process of calling qt4_wrap_cpp(), qt4_add_resources(), etc.

Some potential issues: It currently only handles .ui, .qrc files and headers which need MOC generation; it doesn't handle other things like DBus interface files, though those shouldn't be too hard to add if somebody needs them. And it doesn't handle automoc, as I have no idea how that's supposed to work.
No tags attached.
? QtUtilMacros.cmake (5,075) 2013-08-13 15:57
https://public.kitware.com/Bug/file/4849/QtUtilMacros.cmake
Issue History
2013-08-13 15:57Daniel ScheplerNew Issue
2013-08-13 15:57Daniel ScheplerFile Added: QtUtilMacros.cmake
2013-11-02 09:05Stephen KellyAssigned To => Stephen Kelly
2013-11-02 09:05Stephen KellyStatusnew => assigned
2013-11-02 09:05Stephen KellyAssigned ToStephen Kelly =>
2013-11-02 09:06Stephen KellyNote Added: 0034313
2013-11-02 09:06Stephen KellyStatusassigned => resolved
2013-11-02 09:06Stephen KellyFixed in Version => CMake 3.0
2013-11-02 09:06Stephen KellyResolutionopen => fixed
2013-11-02 09:06Stephen KellyAssigned To => Stephen Kelly
2014-06-02 08:37Robert MaynardNote Added: 0035978
2014-06-02 08:37Robert MaynardStatusresolved => closed

Notes
(0034313)
Stephen Kelly   
2013-11-02 09:06   
Obsoleted by AUTOMOC, AUTOUIC and AUTORCC.
(0035978)
Robert Maynard   
2014-06-02 08:37   
Closing resolved issues that have not been updated in more than 4 months.