summaryrefslogtreecommitdiffstats
path: root/Modules/FindQt4.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-56/+56
| | | | | | | | | | | | | | | | | Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//'
* Fix typo direcotry -> directory (and similar) [#13444]Rolf Eike Beer2012-07-301-1/+1
|
* FindQt4: extend documentationRolf Eike Beer2012-06-201-6/+19
| | | | | -refer to AUTOMOC from QT4_AUTOMOC -mention how source file properties influence QT4_ADD_DBUS_INTERFACE
* Merge topic 'qt4-phonon-backend'David Cole2012-06-051-1/+5
|\ | | | | | | | | ad7c80c Added conditional for the phonon backend plugin.
| * Added conditional for the phonon backend plugin.Kurtis Nusbaum2012-05-291-1/+5
| | | | | | | | If on APPLE, the phonon backend plugin is set to phonon_qt7. If on WIN32, the phonon backend plugin is set to phonon_ds9. I did not add any for generic UNIXes as they could have a whole host of things. A more comprehensive script would actually attempt to detect which phonon plugins were installed. However, this is a simple fix for now that will work for most people.
* | Fix the number variable comparison when Qt is not found.Stephen Kelly2012-05-031-1/+1
| |
* | Abort FindQt4.cmake if Qt 5 is found.David Faure2012-05-031-4/+16
|/
* FindQt4: clarify warning message about incorrect Qt installation.Clinton Stimpson2012-02-091-2/+3
| | | | | Fixes bug #12915. Thanks Laurent Rineau and Brad King for input.
* Add QT_LIBRARIES_PLUGINS variable to UseQt4.Mike McQuaid2011-10-031-0/+8
|
* qt4: also find QtUiTools when cross compiling with mingw.Clinton Stimpson2011-08-291-3/+4
|
* Remove C compiler requirement from FindQt4.cmakeClinton Stimpson2011-07-281-7/+7
| | | | | Use the new check_cxx_symbol_exists instead of check_symbol_exists. Also remove a debug message from CheckSymbolExists.cmake.
* Merge topic 'qt4-apple-framework-fix'Brad King2011-07-261-13/+13
|\ | | | | | | | | 702538e Qt4: Fix reference of undefined variable when detecting frameworks on Mac OS X
| * Qt4: Fix reference of undefined variable when detecting frameworks on Mac OS XClinton Stimpson2011-07-251-13/+13
| |
* | Add qt4/QtCore to help find Qt headers when cross-compiling.Clinton Stimpson2011-07-221-1/+1
|/
* Add imported targets support for frameworks on Mac.Clinton Stimpson2011-06-131-23/+24
|
* When cross compiling, don't double-root paths when using find_*.Markus Rathgeb2011-03-101-34/+34
|
* Fix regression in 43cb9b8.Clinton Stimpson2011-02-241-0/+5
| | | | Put back some code for setting the QT_VERSION_* variables that wasn't supposed to be removed.
* Merge topic 'qt4-fphsa'Brad King2011-02-221-133/+52
|\ | | | | | | | | | | | | 7a1027a When checking find_package() components, special case qtmain. 4c1c358 FindQt4: Include builtin FindPackageHandleStandardArgs directly 43cb9b8 Change to use fphsa to check required variables and version.
| * When checking find_package() components, special case qtmain.Clinton Stimpson2011-02-041-1/+7
| | | | | | | | | | Its just a library on Windows only. Fixes bug #11791.
| * FindQt4: Include builtin FindPackageHandleStandardArgs directlyBrad King2011-01-201-1/+1
| | | | | | | | | | Apply to FindQt4 change from commit b0118402 (Use absolute path to FindPackageHandleStandardArgs.cmake everywhere, 2010-09-28).
| * Change to use fphsa to check required variables and version.Clinton Stimpson2011-01-151-133/+46
| | | | | | | | | | Also, set the required variables based on components, if specified. Also, don't make finding uic required if not using QtGui.
* | Fix issues with find_path() for QtCore include dir on Mac. Fixes 11868.Clinton Stimpson2011-02-191-4/+21
| |
* | Replace exec_program with execute_process for qmake queries.Clinton Stimpson2011-01-181-1/+4
|/
* Add support for using static/dynamic Qt plugins.Clinton Stimpson2011-01-011-9/+83
|
* Fix regression in 2dae2f1 which added find of Qt imports dir.Clinton Stimpson2010-10-151-2/+2
|
* Find imports dir in Qt 4.7Clinton Stimpson2010-10-091-37/+36
|
* Merge topic 'findqt4-cross-compile'Brad King2010-09-281-1/+3
|\ | | | | | | | | 25931ae Fix regression in cross-compile patches with finding Qt libs.
| * Fix regression in cross-compile patches with finding Qt libs.Clinton Stimpson2010-09-231-1/+3
| | | | | | | | | | | | If a Qt installation is in CMAKE_PREFIX_PATH and a QT_QMAKE_EXECUTABLE points to a qmake for a different Qt installation, prefer finding libs in the latter Qt installation.
* | Modules: Fix spelling 'To distributed' -> 'To distribute'Todd Gamblin2010-08-091-1/+1
|/
* Fix mingw/VS warning message with cross compile re-org.Clinton Stimpson2010-07-151-8/+8
|
* Find correct Qt plugins for cross-compiling.Clinton Stimpson2010-07-061-1/+7
|
* Fix some issues with refinding when qmake executable is changed.Clinton Stimpson2010-07-061-0/+7
|
* Tweak for cygwin, don't convert : to ;Clinton Stimpson2010-07-031-2/+2
|
* Add cross-compiling support to FindQt4.cmakeClinton Stimpson2010-07-021-239/+222
|
* Remove macro for querying qmake for qmake variables.Clinton Stimpson2010-06-121-28/+0
| | | | | | Remove last place for querying qmake values. Also removed internal macro to support querying qmake. Depends on findthreads-irix topic.
* Change to use FindX11.cmake. Should fix #9929.Clinton Stimpson2010-03-171-1/+1
|
* ENH: Clarify a doc string. Fixes #10358.Clinton Stimpson2010-03-171-1/+3
|
* Add support for QtDeclartive module.Clinton Stimpson2010-02-181-2/+9
|
* -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