View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000869 | CMake | public | 2004-05-25 12:32 | 2004-07-11 05:48 | |||||
Reporter | Alex Neundorf | ||||||||
Assigned To | Bill Hoffman | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0000869: FindQt.cmake enhancement | ||||||||
Description | Attached (if I find out how to attach a file here) you can find an improved version of FindQt.cmake. It also features some improvements from Filipe Sousa. It adds to the current FindQt.cmake: support for a QT_MIN_VERSION variable, which you can set to ensure that a recent enough version of Qt is installed . SET(QT_MIN_VERSION "3.0.0") Then cmake will quit with FATAL_ERROR if the found Qt version is too old. Additionally it features SET(QT_MT_REQUIRED TRUE) which will only succeed if the mutlithreaded version of Qt is found. Additionally the check for the Qt library on Windows is improved, according to Filipe under Windows qt is named "qt-mt300.dll", i.e. that version number has to be added to the library name. This is also done by the enhanced FindQt.cmake. It also adds some more verbosity when checking for Qt. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | FindQt.cmake [^] (7,995 bytes) 1969-12-31 19:00 | ||||||||
Relationships | |
Relationships |
Notes | |
(0001254) Bill Hoffman (manager) 2004-07-09 15:40 |
I merged your changes with the current cvs. Please test and let me know if it works for you. I did not test it with QT as I do not have QT. I made a few changes, like removing most FATAL_ERRORS, as projects could do a findqt and only optionally use it based on if it was found. The fatal errors in your version would prevent a project from including FindQT and not actually finding it. |
(0001255) Alex Neundorf (developer) 2004-07-11 05:48 |
Yes, works :-) Since some days the first Qt 4 preview is available. There will be quite some changes with Qt 4. Should this all be merged into FindQt.cmake or should an additional FindQt4.cmake be written ? libqt will be split into libQtCore, libQtGui, libQtNetwork, and the separation between libqt-mt and libqt will go away. There will be a libqt3-compat. And all headers will be renamed (e.g. "qstring.h" -> "QString") So I think a new file would be appropriate. What do you think ? Bye Alex |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |