View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014355CMakeModulespublic2013-08-13 15:572014-06-02 08:37
ReporterDaniel Schepler 
Assigned ToStephen Kelly 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake 2.8.11.2 
Target VersionFixed in VersionCMake 3.0 
Summary0014355: Implementation of qt4_add_executable/library
DescriptionHere'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.
TagsNo tags attached.
Attached Files? file icon QtUtilMacros.cmake [^] (5,075 bytes) 2013-08-13 15:57

 Relationships

  Notes
(0034313)
Stephen Kelly (developer)
2013-11-02 09:06

Obsoleted by AUTOMOC, AUTOUIC and AUTORCC.
(0035978)
Robert Maynard (manager)
2014-06-02 08:37

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2013-08-13 15:57 Daniel Schepler New Issue
2013-08-13 15:57 Daniel Schepler File Added: QtUtilMacros.cmake
2013-11-02 09:05 Stephen Kelly Assigned To => Stephen Kelly
2013-11-02 09:05 Stephen Kelly Status new => assigned
2013-11-02 09:05 Stephen Kelly Assigned To Stephen Kelly =>
2013-11-02 09:06 Stephen Kelly Note Added: 0034313
2013-11-02 09:06 Stephen Kelly Status assigned => resolved
2013-11-02 09:06 Stephen Kelly Fixed in Version => CMake 3.0
2013-11-02 09:06 Stephen Kelly Resolution open => fixed
2013-11-02 09:06 Stephen Kelly Assigned To => Stephen Kelly
2014-06-02 08:37 Robert Maynard Note Added: 0035978
2014-06-02 08:37 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team