MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0008542 | CMake | CMake | public | 2009-02-16 12:37 | 2010-12-14 18:45 |
Reporter | Pau Garcia i Quiles | ||||
Assigned To | Clinton Stimpson | ||||
Priority | normal | Severity | feature | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | CMake-2-6 | ||||
Target Version | Fixed in Version | ||||
Summary | 0008542: FindQt4.cmake: support COMPONENTS and version | ||||
Description | Currently, to specify what Qt4 modules you want to use, you need to use variables which are later checked by FindQt4.cmake and UseQt4.cmake: QT_USE_QTXML, QT_USE_QT, etc Also, it was possible to specify the minimum Qt version you wanted to use (by means of the QT_MIN_VERSION varible) but not the maximum version. The attached patch adds support for things like: FIND_PACKAGE( Qt4 4.4.3 EXACT COMPONENTS QtCore QtXml REQUIRED ) Best of all is the patch does not break source compatibility: - it is still possible (although discouraged) to use the variables - it is still possible to use QT_MIN_VERSION to specify the minimum Qt version When using the COMPONENTS syntax, it is no longer necessary to use INCLUDE(${QT_USE_FILE}) | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | FindQt4-use_components_and_version.diff (8,126) 2009-02-16 12:37 https://public.kitware.com/Bug/file/2058/FindQt4-use_components_and_version.diff | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2009-02-16 12:37 | Pau Garcia i Quiles | New Issue | |||
2009-02-16 12:37 | Pau Garcia i Quiles | File Added: FindQt4-use_components_and_version.diff | |||
2009-02-16 12:48 | Bill Hoffman | Status | new => assigned | ||
2009-02-16 12:48 | Bill Hoffman | Assigned To | => Clinton Stimpson | ||
2009-02-19 15:52 | Clinton Stimpson | Note Added: 0015232 | |||
2009-02-19 16:05 | Clinton Stimpson | Note Added: 0015233 | |||
2009-02-19 16:05 | Clinton Stimpson | Status | assigned => resolved | ||
2009-02-19 16:05 | Clinton Stimpson | Resolution | open => fixed | ||
2010-12-14 18:45 | David Cole | Note Added: 0024013 | |||
2010-12-14 18:45 | David Cole | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|