summaryrefslogtreecommitdiffstats
path: root/Modules/FindQt.cmake
Commit message (Collapse)AuthorAgeFilesLines
* find_package(): Add policy to remove the FindQt moduleKyle Edwards2018-11-141-0/+8
| | | | | | | | Removing FindQt.cmake gives Qt upstream a path forward to export its own QtConfig.cmake files which can be found by find_package() without having to explicitly specify CONFIG. Projects that still want to use Qt3/4 can call find_package(Qt[34]), include(FindQt), or add FindQt.cmake to their CMAKE_MODULE_PATH.
* Help: Convert remaining modules to block-style commentsKitware Robot2018-10-221-31/+32
|
* Help: Add link to cmake-qt(7) to FindQt.cmake.Joachim Wuttke (l)2018-10-091-5/+5
|
* Modules: Replace coded PATHS with PATH_SUFFIXESChristian Pfeiffer2017-11-201-9/+3
| | | | | | | Some modules assume that `/usr` and `/usr/local` are the only `CMAKE_PREFIX_PATH` entries and explicitly enumerate all paths instead of using `PATH_SUFFIXES` and relying on the dynamic set of prefix paths. This commit attempts to rectify that behavior.
* Simplify CMake per-source license noticesBrad King2016-09-271-13/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Per-source copyright/license notice headers that spell out copyright holder names and years are hard to maintain and often out-of-date or plain wrong. Precise contributor information is already maintained automatically by the version control tool. Ultimately it is the receiver of a file who is responsible for determining its licensing status, and per-source notices are merely a convenience. Therefore it is simpler and more accurate for each source to have a generic notice of the license name and references to more detailed information on copyright holders and full license terms. Our `Copyright.txt` file now contains a list of Contributors whose names appeared source-level copyright notices. It also references version control history for more precise information. Therefore we no longer need to spell out the list of Contributors in each source file notice. Replace CMake per-source copyright/license notice headers with a short description of the license and links to `Copyright.txt` and online information available from "https://cmake.org/licensing". The online URL also handles cases of modules being copied out of our source into other projects, so we can drop our notices about replacing links with full license text. Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority of the replacements mechanically. Manually fix up shebang lines and trailing newlines in a few files. Manually update the notices in a few files that the script does not handle.
* FindQt: explicitely mention that it cannot Qt5 or laterRolf Eike Beer2015-01-161-0/+3
|
* FindQt: fix variable name in error messageRolf Eike Beer2015-01-161-2/+2
|
* FindQt: fix setting DESIRED_QT_VERSION if "find_package(Qt VVV)" was calledRolf Eike Beer2015-01-161-1/+5
| | | | | | | In case the given version was not only "3" or "4", but something like "4.8" DESIRED_QT_VERSION was set to an unsupported value. While at it also check that the version passed in is really in the range of 3.x and 4.x. Also suggest switching to the more specific find modules if possible.
* Replace MATCHES test on numbers with EQUAL testRolf Eike Beer2014-04-141-2/+2
| | | | | The MATCHES tests were actually wrong, as "a4b" and "42" would also cause a match when it should not.
* Remove .* expressions from beginning and end of MATCHES regexsRolf Eike Beer2014-04-141-1/+1
| | | | | | | | | All these expressions work the same: "foo" ".*foo.*" "^.*foo.*$" This assumes that the "Intel*" expressions were meant to be "Intel.*".
* Convert builtin help to reStructuredText source filesKitware Robot2013-10-151-15/+25
| | | | | | | | Run the convert-help.bash script to convert documentation: ./convert-help.bash "/path/to/CMake-build/bin" Then remove it.
* OpenBSD: Add paths for Qt3/Qt4Amit Kulkarni2012-12-051-0/+14
| | | | | | | Handle OpenBSD specific paths in Qt3/Qt4, allowing concurrent building and installation. Some common programs are renamed with suffixes of either 3 or 4. Also, allow qt3/qt4 installed under /usr/local to be searched and recognized appropriately.
* Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include()Rolf Eike Beer2012-11-041-2/+2
| | | | | | This solves a lots of warnings, e.g. in the FindModulesExecuteAll test. If the installed version on the system is rather old this may even lead to bugs, e.g. https://bugs.gentoo.org/show_bug.cgi?id=436540
* FindQt: add some more places to look for Qt3Rolf Eike Beer2012-10-241-1/+1
| | | | Qt3 may be e.g. in /usr/lib64/qt-3 or in /usr/lib/qt3, too.
* FindQt: improve version selectionRolf Eike Beer2012-10-241-3/+7
| | | | | | -make "find_package(Qt 3)" work -if DESIRED_QT_VERSION was set, but only the other Qt major version was found don't override the DESIRED_QT_VERSION set by the user
* Fix casing of 'Qt' in docs, comments and user-visible strings.Stephen Kelly2012-08-281-13/+13
| | | | | QT (cue-tea) is Apple QuickTime. Qt (cute) is the C++ framework.
* Remove CMake-language block-end command argumentsKitware Robot2012-08-131-25/+25
| | | | | | | | | | | | | | | | | Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block. This is no longer the preferred style. Run the following shell code: for c in else endif endforeach endfunction endmacro endwhile; do echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | egrep -z -v 'Tests/CMakeTests/While-Endwhile-' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Convert CMake-language commands to lower caseKitware Robot2012-08-131-83/+83
| | | | | | | | | | | | | | | | | Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code: cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-5/+5
| | | | | | | | | | | | | | | | | 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/ \+$//'
* Modules: Fix spelling 'To distributed' -> 'To distribute'Todd Gamblin2010-08-091-1/+1
|
* 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.
* ENH: change to fatal errorBill Hoffman2006-01-251-1/+1
|
* ENH: add qt quiet stuffBill Hoffman2006-01-091-0/+4
|
* ENH: cleanupsKen Martin2005-12-151-3/+4
|
* ENH: add documentation support for modulesBill Hoffman2005-12-141-11/+12
|
* ENH: if qt4 qmake is found then set QT_QMAKE_EXECUTABLE to that value so ↵Bill Hoffman2005-09-141-0/+1
| | | | that the same one will be used in FindQt4.cmake
* ENH: fix if statementBill Hoffman2005-09-131-1/+1
|
* ENH: add docs for QT_REQUIREDBill Hoffman2005-09-131-0/+2
|
* ENH: more findqt fixesBill Hoffman2005-09-131-5/+5
|
* ENH: add new place to search for qt4 in registryBill Hoffman2005-09-121-0/+1
|
* ENH: fix typoBill Hoffman2005-09-121-2/+0
|
* ENH: add a better messageBill Hoffman2005-09-121-1/+3
|
* ENH: add some messages not errors for findqtBill Hoffman2005-09-121-0/+4
|
* ENH: make sure the correct qmake is usedBill Hoffman2005-09-121-2/+2
|
* ENH: only print errors if QT_REQUIRED is setBill Hoffman2005-09-111-1/+3
|
* BUG: try to fix qt problemsBill Hoffman2005-09-101-2/+6
|
* ENH: clean up the find qt stuff someBill Hoffman2005-09-101-10/+13
|
* ENH: try to fix this find qt stuffBill Hoffman2005-09-091-2/+123
|
* ENH: make FindQt default to qt3 and print a message, and add ↵Bill Hoffman2005-09-091-289/+3
| | | | CheckQtInstalled.cmake
* ENH: fixed up qt stuff from Clinton StimpsonBill Hoffman2005-08-101-10/+10
|
* ENH: add advanced valuesBill Hoffman2005-08-021-0/+1
|
* ENH: make sure qmake is on the machine before running itBill Hoffman2005-07-201-4/+7
|
* ENH: fix qt bugBill Hoffman2005-07-181-1/+1
|
* ENH: fix hard coded include from patchBill Hoffman2005-07-151-2/+2
|
* ENH: fix hard coded include from patchBill Hoffman2005-07-151-2/+2
|
* ENH: fix hard coded include from patchBill Hoffman2005-07-151-4/+2
|
* ENH: add new qt stuff from warfield@bwh.harvard.edu, thanksBill Hoffman2005-07-151-236/+276
|
* ENH: Added search locations for a FreeBSD location. Contributed by ↵Brad King2005-06-071-0/+6
| | | | Alexander Neundorf.
* ENH: Removing extra 64-bit search paths. They are now constructed ↵Brad King2005-04-071-15/+0
| | | | automatically from the paths listed.
* ENH: Adding support for 64-bit library paths. Contributed by Peter Vanroose.Brad King2005-04-071-0/+15
|