summaryrefslogtreecommitdiffstats
path: root/Modules/FindQt3.cmake
Commit message (Collapse)AuthorAgeFilesLines
* FindQt[34]: Prefer matching versioned tool namesRolf Eike Beer2014-05-221-2/+2
| | | | | | | After finding qmake we search in QT_BINARY_DIR for the other Qt tools. Try all versioned executable names before trying the plain executable name. This makes it much more likely that if 2 different major versions are installed in the same prefix CMake will be able to detect a proper set of tools.
* Remove .* expressions from beginning and end of MATCHES regexsRolf Eike Beer2014-04-141-2/+2
| | | | | | | | | 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-13/+27
| | | | | | | | 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-2/+4
| | | | | | | 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.
* Fix casing of 'Qt' in docs, comments and user-visible strings.Stephen Kelly2012-08-281-2/+2
| | | | | QT (cue-tea) is Apple QuickTime. Qt (cute) is the C++ framework.
* Merge topic 'read-less-from-version-headers'David Cole2012-08-201-2/+2
|\ | | | | | | | | 4be6783 read less from version headers into variables
| * read less from version headers into variablesRolf Eike Beer2012-08-191-2/+2
| | | | | | | | | | | | | | | | | | Instead of reading the whole file using file(READ) and later matching on the whole file use file(STRINGS ... REGEX) to get only those lines we are interested in at all. This will make the list much smaller (good for debugging) and also the regular expressions will need to match on much smaller strings. Also unset the content variables once they are not used anymore.
* | use PATH_SUFFIXES to simplify find_* callsRolf Eike Beer2012-08-141-53/+61
|/ | | | | | Especially remove "lib64" when the given paths are all Unix ones and "lib" is also explicitely given. In that case CMake will search "lib64" anyway for platforms where it is known to make sense.
* Remove CMake-language block-end command argumentsKitware Robot2012-08-131-30/+30
| | | | | | | | | | | | | | | | | 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-108/+108
| | | | | | | | | | | | | | | | | 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
* FindQt3: fix detection of Qt3 include directoryRolf Eike Beer2012-03-021-2/+5
| | | | The include directory is likely not inside ../bin
* FindQt3: let FPHSA handle the version selectionRolf Eike Beer2012-03-021-54/+14
|
* FindQt3: fix version extraction for versions with lettersRolf Eike Beer2012-03-021-2/+2
|
* FindQt3: fix warning when Qt3 is not foundRolf Eike Beer2012-03-021-2/+10
| | | | | | -- Could NOT find Qt3 (missing: QT_QT_LIBRARY QT_INCLUDE_DIR QT_MOC_EXECUTABLE) CreateProcess failed QT_MOC_EXECUTABLE-NOTFOUND -v CreateProcess failed QT_UIC_EXECUTABLE-NOTFOUND -version
* Fix paths/hints for finding qtmain.Clinton Stimpson2012-02-201-1/+4
|
* Modules: Include builtin FindPackageHandleStandardArgs directlyBrad King2011-01-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The FindPackageHandleStandardArgs module was originally created outside of CMake. It was added for CMake 2.6.0 by commit e118a627 (add a macro FIND_PACKAGE_HANDLE_STANDARD_ARGS..., 2007-07-18). However, it also proliferated into a number of other projects that at the time required only CMake 2.4 and thus could not depend on CMake to provide the module. CMake's own find modules started using the module in commit b5f656e0 (use the new FIND_PACKAGE_HANDLE_STANDARD_ARGS in some of the FindXXX modules..., 2007-07-18). Then commit d358cf5c (add 2nd, more powerful mode to find_package_handle_standard_args, 2010-07-29) added a new feature to the interface of the module that was fully optional and backward compatible with all existing users of the module. Later commit 5f183caa (FindZLIB: use the FPHSA version mode, 2010-08-04) and others shortly thereafter started using the new interface in CMake's own find modules. This change was also backward compatible because it was only an implementation detail within each module. Unforutnately these changes introduced a problem for projects that still have an old copy of FindPackageHandleStandardArgs in CMAKE_MODULE_PATH. When any such project uses one of CMake's builtin find modules the line include(FindPackageHandleStandardArgs) loads the copy from the project which does not have the new interface! Then the including find module tries to use the new interface with the old module and fails. Whether this breakage can be considered a backward incompatible change in CMake is debatable. The situation is analagous to copying a standard library header from one version of a compiler into a project and then observing problems when the next version of the compiler reports errors in its other headers that depend on its new version of the original header. Nevertheless it is a change to CMake that causes problems for projects that worked with previous versions. This problem was discovered during the 2.8.3 release candidate cycle. It is an instance of a more general problem with projects that provide their own versions of CMake modules when other CMake modules depend on them. At the time we resolved this instance of the problem with commit b0118402 (Use absolute path to FindPackageHandleStandardArgs.cmake everywhere, 2010-09-28) for the 2.8.3 release. In order to address the more general problem we introduced policy CMP0017 in commit db44848f (Prefer files from CMAKE_ROOT when including from CMAKE_ROOT, 2010-11-17). That change was followed by commit ce28737c (Remove usage of CMAKE_CURRENT_LIST_DIR now that we have CMP0017, 2010-12-20) which reverted the original workaround in favor of using the policy. However, existing project releases do not set the policy behavior to NEW and therefore still exhibit the problem. We introduced in commit a364daf1 (Allow users to specify defaults for unset policies, 2011-01-03) an option for users to build existing projects by adding -DCMAKE_POLICY_DEFAULT_CMP0017=NEW to the command line. Unfortunately this solution still does not allow such projects to build out of the box, and there is no good way to suggest the use of the new option. The only remaining solution to keep existing projects that exhibit this problem building is to restore the change originally made in commit b0118402 (Use absolute path to FindPackageHandleStandardArgs.cmake everywhere, 2010-09-28). This also avoids policy CMP0017 warnings for this particular instance of the problem the policy addresses.
* Fix #11421: FindQt3.cmake doesn't honor the REQUIRED keywordAlex Neundorf2010-11-091-3/+3
| | | | Alex
* Modules: Fix spelling 'To distributed' -> 'To distribute'Todd Gamblin2010-08-091-1/+1
|
* FindQt3: Prefer (moc|uic)-qt3 names over (moc|uic)Brad King2009-10-051-2/+3
| | | | | | | On Debian moc and uic from Qt3 have '-qt3' suffixes. The latter names might come from Qt4, so prefer the version-specific names. Patch from Modestas Vainius. See issue #9659.
* Convert CMake find-modules to BSD LicenseBrad King2009-09-281-0/+13
| | | | | | | 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.
* BUG: fix #7447, FindModulesExecuteAll test fails if both Qt3 and KDE4 can beAlexander Neundorf2008-08-161-2/+14
| | | | | | | | | | | | | found in the system Qt3 and Qt4 cannot be used together in one project. Now Qt3/KDE3 and Qt4/KDE4 handle the case that this is done nevertheless properly, i.e. they fail with FATAL_ERROR if it was REQUIRED and they fail with just MESSAGE(STATUS ...) and RETURN() if it was not REQUIRED BUG: make FindQt4 error out with FATAL_ERROR also if it was searched QUIET Alex
* STYLE: remove some unnecessary linesAlexander Neundorf2008-08-161-30/+14
| | | | | | STYLE: everything uppercase in this file Alex
* ENH: try to module run testBill Hoffman2008-06-181-4/+11
|
* ENH: Cleanup Find* modules with new HINTS featureBrad King2008-06-091-11/+3
| | | | | | | | | | - The find_* commands now provide a HINTS option. - The option specifies paths to be preferred over the system paths. - Many Find* modules were using two find calls with NO_DEFAULT_PATH to approximate the behavior, but that blocked users from overriding things with CMAKE_PREFIX_PATH. - This commit uses the HINTS feature to get desired behavior in only one find command call.
* BUG: Fixed name of variable used to check version of uic executable.Brad King2007-06-111-1/+1
|
* ENH: make sure findqt3 finds qt3 and not qt4Bill Hoffman2006-11-221-4/+20
|
* ENH: automatically find Qt3 on SUSE, patch from Dirk Mueller and StephanAlexander Neundorf2006-08-301-0/+9
| | | | | | Kulow Alex
* BUG: #3514: qt-mt3.lib wasn't found on windowsAlexander Neundorf2006-08-271-41/+33
| | | | | | | STYLE: remove some (now) unnecessary /usr/lib, /usr/local/lib, /usr/include and /usr/local/include search paths Alex
* ENH: try to find qt3 betterBill Hoffman2006-05-071-0/+14
|
* BUG: fix QT_MIN_VERSION handling, it didn't work anymore (qt_version_str vs.Alexander Neundorf2006-04-231-2/+2
| | | | | | qt_version_str_lib) Alex
* ENH: try to fix non-clean dashboardsBill Hoffman2006-03-061-0/+6
|
* ENH: use program files env for searchingBill Hoffman2006-02-281-3/+4
|
* ENH: fix module documenation to handle bad docs and fix qt3 docsBill Hoffman2005-12-151-11/+12
|
* ENH: add documentation support for modulesBill Hoffman2005-12-141-12/+12
|
* BUG: QT_DEFINITIONS should not be quoted. This addresses bug#2481.Brad King2005-11-221-2/+2
|
* ENH: add more libraries for qt3Bill Hoffman2005-09-121-2/+7
|
* ENH: more qt changesBill Hoffman2005-09-121-4/+25
|
* ENH: clean up the find qt stuff someBill Hoffman2005-09-101-0/+6
|
* ENH: Added support for finding qt-mtedu, the educational version of Qt.Brad King2005-08-231-2/+2
|
* ENH: add new qt stuff from warfield@bwh.harvard.edu, thanksBill Hoffman2005-07-151-0/+248