summaryrefslogtreecommitdiffstats
path: root/Modules/FindQt4.cmake
Commit message (Collapse)AuthorAgeFilesLines
* -make the imported targets feature of FindQt4.cmake fully backwards compatibleAlexander Neundorf2010-01-181-42/+110
| | | | | | | | | | | After discussing with Brad and Clinton: -the namespace for the imported targets is now "Qt4::", tested with Makefiles, Visual Studio and XCode projects -the imported targets are always created -if QT_USE_IMPORTED_TARGETS is set to TRUE (it defaults to FALSE), the QT_QTFOO_LIBRARY variables are set to point to these imported targets, otherwise the old behaviour is used. -on OSX if Qt has been found as framework, disable QT_USE_IMPORTED_TARGETS, since cmake doesn't handle the framework directory as location of the library correctly Alex
* some tweaks as suggested by Brad (no functional changes)Alexander Neundorf2010-01-181-16/+4
| | | | | | | | | -set the type of the IMPORTED libraries to UNKNOWN, this way also on Windows only the "LOCATION" property has to be set -the if() around the SET(QT_${basename}_FOUND 1) was useless (always true) -the mapping of the configuration types DEBUG and PROFILE did not belong here Alex
* -create imported library targets for the Qt4 libsAlexander Neundorf2010-01-171-34/+32
| | | | | | | | | | | | | | | | | This commit syncs FindQt4.cmake again with KDEs version. Now for every Qt library an imported target with the name Qt4ImportedTarget__<LIBNAME> is created. This way we can now finally handle the release and debug versions of the Qt libraries correctly. Also, if a Qt-using project A installs a file with exported targets, these targets now depend on the imported Qt targets, e.g. Qt4ImportedTarget__QtCore. The location of QtCore is then resolved at buildtime of project B, which uses the exported targets from project A. Before this patch the full path to the QtCore on the original build machine of project A was stored, so this had to match the directory layout on the build machine for project B. Alex
* Fix bug #10114. Find phonon on some installations.Clinton Stimpson2010-01-131-0/+10
|
* fix logic of _QT4_ADJUST_LIB_VARS() wrt. release- and debug librariesAlexander Neundorf2009-12-231-13/+15
| | | | | | | | Now the case that both the release- and the debug-version of a library is handled first, because otherwise we always ran into this branch, since the debug-only and the release-only branch also set both variables. Alex
* sync with KDE: sort the libs alphabeticallyAlexander Neundorf2009-12-201-9/+8
| | | | Alex
* -add support for QtMultimedia and some sync with KDEAlexander Neundorf2009-12-201-6/+11
| | | | | | | -the QtMultimedia module is new since Qt 4.6.0 -sort the doc entries alphabetically Alex
* -better support for Qt4 as frameworksAlexander Neundorf2009-12-161-1/+10
| | | | | | | | | | | before this patch -F<framework> dir had to be added manually in some way when using Qt4 installed as framework and when using FindQt4.cmake directly, i.e. without UseQt4.cmake. With this patch the framework dir is automatically added to QT_INCLUDE_DIR when Qt is installed as a framework. Ok by Clinton, tested already in KDE by Mike Arthur. Alex
* also provide QT_DESIGNER_EXECUTABLE and QT_LINGUIST_EXECUTABLEAlexander Neundorf2009-11-231-1/+18
| | | | Alex
* Don't search for QtMotif on all platforms - only on X11.Clinton Stimpson2009-11-171-39/+46
|
* Split some logic of FindQt4.cmake into separate files, which are included ↵Alexander Neundorf2009-11-151-672/+11
| | | | | | | | | | | | | | | | | | automatically. Qt4Macros.cmake: all the "public" macros of FindQt4.cmake Qt4ConfigDependentSettings.cmake: the code for detecting the Qt-configuration dependent additional libraries, e.g. when linking statically. There should be no functional changes in this patch. The patch reduces the length of FindQt4.cmake from 1700 lines to around 1000 lines, which is still long enough, but this should make the file a easier to handle (and it is similar to what we do in KDE with FindKDE4Internal.cmake and KDE4Macros.cmake) Ok by Clinton. Alex
* also search for "qmake-mac", which is installed by macports ↵Alexander Neundorf2009-11-121-1/+3
| | | | | | (http://lists.kde.org/?l=kde-core-devel&m=125797773120427&w=2) Alex
* Search for the header QtAssistant for QT_QTASSISTANT_INCLUDE_DIR instead of ↵Alexander Neundorf2009-11-101-1/+1
| | | | | | | | | QtAssistantClient This should not change the result (since both should be in the same directory), but seems a bit more logical and is also in sync with what is done in the KDE version. Alex
* Sort documentation entries better and move mark_as_advanced() a bit backAlexander Neundorf2009-11-091-12/+12
| | | | Alex
* -another tiny sync with KDE4, no functional changesAlexander Neundorf2009-11-081-2/+6
| | | | Alex
* some syncing with FindQt4.cmake from KDE, no functional changesAlexander Neundorf2009-11-081-9/+16
| | | | | | | | -the mark_as_advanced() calls for the variables coming from qmake are now in the corresponding section, and not in the section where the include dirs are foudn Alex
* Check for openssl-linked option with Qt 4.4+ before making ssl a dependency.Clinton Stimpson2009-10-071-6/+15
|
* When getting include dirs for moc, also watch for framework includes and use ↵Clinton Stimpson2009-10-051-1/+6
| | | | -F instead of -I.
* some syncing with the FindQt4.cmake from KDEAlexander Neundorf2009-10-041-13/+13
| | | | | | | | | -remove the parentheses in the if() conditions, they don't change the result, and without them these lines are identical to the ones in FindQt4.cmake from KDE -mention which qmake was used for finding Qt Alex
* -add the additional features for the dbus macros from KDE's FindQt4.cmakeAlexander Neundorf2009-10-031-7/+13
| | | | Alex
* document how the minimum version can be specifiedAlexander Neundorf2009-10-011-54/+57
| | | | Alex
* Add documentation for Cocoa flag and move Motif under X11 flag.Clinton Stimpson2009-10-011-1/+9
|
* Convert CMake find-modules to BSD LicenseBrad King2009-09-281-0/+12
| | | | | | | This adds copyright/license notification blocks CMake's find-modules. Many of the modules had no notices at all. Some had notices referring to the BSD license already. This commit normalizes existing notices and adds missing notices.
* add support for finding qcollectiongenerator executable. fixes #9248.Clinton Stimpson2009-09-221-9/+17
|
* Add support for Qt configured with custom qtlibinfix (see issue 9571). Also ↵Clinton Stimpson2009-09-221-35/+36
| | | | fix CMP 15 warnings.
* Fix issue 9581. Qt 4.5+ needs gobject-2.0.Clinton Stimpson2009-09-221-0/+27
|
* use -o flag instead of > for qdbuscpp2xmlClinton Stimpson2009-09-011-1/+1
|
* BUG: fix relative paths from different drives on WindowsClinton Stimpson2009-07-161-0/+3
|
* ENH: Better error message for those who switch from Qt3 to Qt4 and don't ↵Clinton Stimpson2009-05-191-4/+4
| | | | clean their cache file.
* BUG: Fix spaces in file paths for lupdate commandClinton Stimpson2009-05-061-1/+4
|
* ENH: Add support for QtScriptTools in Qt 4.5.Clinton Stimpson2009-05-061-0/+1
|
* ENH: Add support for QtScriptTools in Qt 4.5.Clinton Stimpson2009-05-061-1/+5
|
* ENH: Do a recheck of QT_MAC_USE_COCOA when qmake executable changes.Clinton Stimpson2009-03-261-0/+3
|
* ENH: Support OUTPUT_LOCATION property for qm files.Clinton Stimpson2009-03-251-1/+7
| | | | Fixes #8492.
* BUG: Need to fix find of qtmain library when qmake executable is changed.Clinton Stimpson2009-03-191-0/+4
|
* ENH: add patch from Debian, which adds support lrelease-qt4 and lupdate-qt4Alexander Neundorf2009-02-251-2/+2
| | | | | | http://patch-tracking.debian.net/patch/series/view/cmake/2.6.3-1/FindQt4_qt4_lupdate_lrelease.diff Alex
* ENH: Support COMPONENTS argument to find_package().Clinton Stimpson2009-02-191-17/+34
| | | | See bug #8542.
* ENH: Support version argument in find_package().Clinton Stimpson2009-02-191-2/+41
| | | | See bug #8542.
* ENH: Allowing finding a relocated Qt installation which contains a qt.conf ↵Clinton Stimpson2009-02-131-23/+14
| | | | | | to override the hardcoded paths in qmake. Fixes #8532.
* ENH: Change FILEPATH to STRING for a list of libraries.Clinton Stimpson2009-02-101-2/+2
|
* ENH: Support .hpp with automoc.Clinton Stimpson2009-02-091-1/+5
|
* BUG: When detecting if qmake executable is changed, don't error if pathClinton Stimpson2009-02-071-3/+3
| | | | contains regex chars.
* ENH: Add support for building with Qt's ActiveX support on Windows.Clinton Stimpson2009-02-061-0/+31
|
* ENH: Also find .moc files if there are spaces between # and include.Clinton Stimpson2009-01-291-1/+1
| | | | Fixes #8433.
* BUG: Fixed recent regression when finding some includes.Clinton Stimpson2009-01-261-3/+3
|
* ENH: Add convenience for identifying Cocoa based Qt.Clinton Stimpson2009-01-231-0/+3
|
* BUG: Fix for #8247.Clinton Stimpson2008-12-151-5/+17
| | | | | Add QT_TRANSLATIONS_DIR pointing to the Qt translation files, and docs for it. Also add docs for QT_BINARY_DIR.
* BUG: Revert 1.138.Clinton Stimpson2008-11-251-14/+23
|
* BUG: Fix #7969. Fix moc output files if source dir contains regex characters.Clinton Stimpson2008-11-051-5/+7
|
* BUG: Fix find of assistant on Mac.Clinton Stimpson2008-10-241-2/+2
|