summaryrefslogtreecommitdiff
path: root/Modules/UseQt4.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Modules: Update documentation formattingBartosz Kosiorek2019-04-081-3/+2
|
* Help: Convert remaining modules to block-style commentsKitware Robot2018-10-221-9/+10
|
* 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.
* FindQt4: prevent overlinking when using UseQt4.cmake.Clinton Stimpson2014-02-261-1/+3
| | | | | | Now it only links with the Qt libraries specified by the user, instead of automatically including all dependencies. Fixes #14750 and thanks to Orion Poplawski.
* Qt4: Use generator expression in COMPILE_DEFINITIONS (#14692)Stephen Kelly2014-01-131-7/+1
| | | | | | | | | | | | Commit 5bb53f6b (cmTarget: Deprecate COMPILE_DEFINITIONS_ properties with a policy., 2013-12-30) deprecated the config-specific COMPILE_DEFINITIONS_* properties in favour of using generator expressions. Set the directory property in UseQt4.cmake to match the INTERFACE_COMPILE_DEFINITIONS on the Qt4::QtCore and Qt5::Core IMPORTED targets. Setting QT_NO_DEBUG is sufficient because qglobal.h sets the corresponding QT_DEBUG definition if required.
* qt4: Fix linking with QtSvg to not include QtXml.Clinton Stimpson2013-10-231-1/+1
| | | | Fixes issue #14505.
* Convert builtin help to reStructuredText source filesKitware Robot2013-10-151-4/+9
| | | | | | | | Run the convert-help.bash script to convert documentation: ./convert-help.bash "/path/to/CMake-build/bin" Then remove it.
* Qt4: Add SYSTEM option to include_directories.Clinton Stimpson2012-12-031-2/+10
| | | | Thanks to Scott Bailey and Benjamin Kloster.
* Remove CMake-language block-end command argumentsKitware Robot2012-08-131-16/+16
| | | | | | | | | | | | | | | | | 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-74/+74
| | | | | | | | | | | | | | | | | 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-1/+1
| | | | | | | | | | | | | | | | | 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/ \+$//'
* Qt4: Fix dependencies of QtDeclartive.Clinton Stimpson2011-11-291-3/+3
|
* Add QT_LIBRARIES_PLUGINS variable to UseQt4.Mike McQuaid2011-10-031-0/+2
|
* Add -DQT_NO_DEBUG if no build type is specified so Qt plugins will work.Clinton Stimpson2011-06-231-0/+3
|
* Qt4: complete module dependencies in UseQt4.cmakeClinton Stimpson2011-06-131-0/+7
|
* Modules: Fix spelling 'To distributed' -> 'To distribute'Todd Gamblin2010-08-091-1/+1
|
* Add cross-compiling support to FindQt4.cmakeClinton Stimpson2010-07-021-2/+2
|
* -add support for QtMultimedia in UseQt4.cmake (#10675)Alex Neundorf2010-05-061-2/+3
| | | | Alex
* Add support for QtDeclartive module.Clinton Stimpson2010-02-171-1/+3
|
* -better support for Qt4 as frameworksAlexander Neundorf2009-12-161-3/+0
| | | | | | | | | | | 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
* BUG: Fix #10021 don't specify libraries Qt depends on unless Qt is static.Clinton Stimpson2009-12-151-1/+4
|
* QtHelp depends on QtNetworkClinton Stimpson2009-10-011-1/+1
|
* Convert CMake non-find modules to BSD LicenseBrad King2009-09-281-0/+12
| | | | | | | This adds copyright/license notification blocks CMake's non-find modules. Most 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: Add support for QtScriptTools in Qt 4.5.Clinton Stimpson2009-05-061-2/+3
|
* ENH: Add support for building with Qt's ActiveX support on Windows.Clinton Stimpson2009-02-051-2/+5
|
* ENH: Better way to add framework includes.Clinton Stimpson2009-01-281-1/+1
|
* ENH: Should have a -F for framework includes on Mac. Fixes ParaView build ↵Clinton Stimpson2009-01-231-0/+3
| | | | with Qt 4.5 on Mac.
* BUG: Fix #7934. phonon doesn't always depend on QtDBus.Clinton Stimpson2008-11-051-1/+5
|
* ENH: Similar to how qmake does it...Clinton Stimpson2008-05-191-4/+4
| | | | | | Don't add compile flags for dependent modules the user didn't specify. But still add the link libs. This reduces the number of unecessary compile flags.
* ENH: Automatically add dependent modules.Clinton Stimpson2008-03-141-95/+41
| | | | | For example, if QT_USE_QTXMLPATTERNS is on, QT_USE_QTNETWORK is turned on. The equivalent happens in a qmake .pro file when QT += xmlpatterns is specified.
* ENH: Add support for Qt 4.4's phonon module.Clinton Stimpson2008-03-131-0/+22
| | | | Add new Qt 4.4 modules in UseQt4.cmake
* ENH: Use new COMPILE_DEFINITIONS_* with set_property toClinton Stimpson2008-02-011-11/+4
| | | | add Qt release/debug defines.
* ENH: Define QT_NO_DEBUG when building with release Qt libs.Clinton Stimpson2007-11-301-0/+11
| | | | Fixes #6104.
* ENH: support QtScriptAlexander Neundorf2007-08-211-0/+4
| | | | Alex
* ENH: add QT_USE_QTDBUS as it exists for all other modules tooAlexander Neundorf2007-01-041-2/+5
| | | | Alex
* BUG: Patch from Clinton to restore proper QT3_SUPPORT macro definition.Brad King2006-10-041-0/+1
|
* ENH: fixes from Clinton to allow qt to work with static libsBill Hoffman2006-09-061-100/+56
|
* ENH: fix for optimized debug stuffBill Hoffman2006-08-011-96/+12
|
* ENH: fix qtmain for releaseBill Hoffman2006-08-011-3/+3
|
* ENH: fix qtmain for releaseBill Hoffman2006-08-011-1/+1
|
* ENH: -apply the patches by Clinton Stimpson and Kenneth Moreland which fixAlexander Neundorf2006-04-271-0/+13
| | | | | | | some QtMain issues on Windows ENH: -sync with KDE svn FindQt4, which features a lot of enhancements Alex
* ENH: add documentation support for modulesBill Hoffman2005-12-141-7/+5
|
* ENH: add -D options for qt stuffBill Hoffman2005-09-121-0/+7
|
* ENH: add Ken Morelands fixes for FindQTBill Hoffman2005-09-081-0/+200