aboutsummaryrefslogtreecommitdiff
path: root/modules/FindQt4.cmake
AgeCommit message (Collapse)Author
2006-03-30bigger changes in FindQt4.cmake:Alexander Neundorf
-new variable QT_MIN_VERSION (as in FindQt3.cmake): set it to the minimum required version -prefer qmake over qmake-qt4 -find uic and moc by grepping the qmake spec file -search for the libs, headers and binaries only in the directories reported by qmake -set the minimum required Qt version to 4.1.1 svn path=/trunk/KDE/kdelibs/; revision=524621
2006-03-29Consolidate checks for the Microsoft Windows windowing system into one line ↵Tanner Lovelace
instead of specifically checking for win32 or win64. (Thanks to Thiago for the info about this.) svn path=/trunk/KDE/kdelibs/; revision=524072
2006-03-27-apply patch from Tanner Lovelace: only check for X11 if Q_WS_X11 is definedAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=523302
2006-03-22prefer moc-qt4, uic-qt4 and qmake-qt4 over moc, uic and qmakeAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=521522
2006-03-21-don't prefer QTDIR over the system path for searching qmake, as QTDIR is ↵Alexander Neundorf
obsoleted by Qt 4 also don't search for Qt4 directories under /usr/local Alex svn path=/trunk/KDE/kdelibs/; revision=521210
2006-03-20-rename QT_AND_KDECORE_LIBS to KDE4_KDECORE_LIBSAlexander Neundorf
-rename KDE4_xxx_LIBRARIES to KDE4_xxx_LIBS for less typing -find more KDE4_xxx_LIBS -add QT_QTFOO_LIBRARY_RELEASE to FindQt4.cmake the LIBKFOO vars should be replaced ASAP with KDE4_KFOO_LIBS Alex CCMAIL: montel@kde.org svn path=/trunk/KDE/kdelibs/; revision=520815 The following changes were in SVN, but were removed from git: M pics/CMakeLists.txt
2006-03-20minor cleanups: indenting, adding newline to end of file, etc.Allen Winter
svn path=/trunk/KDE/kdelibs/; revision=520790
2006-03-20first try the include dir from qmake, and only useMatthias Kretz
/usr/local/Trolltech/Qt-4*/include/Qt/ after the QTDIR environment variable (before cmake always picked up /usr/local/Trolltech/Qt-4.0.1/...) svn path=/trunk/KDE/kdelibs/; revision=520562
2006-03-16-implemented RPATH handling, set RPATH_STYLE to one of the following:Alexander Neundorf
default: compile with RPATH to the builddir, when installing link again with RPATH to the install dir, the kde lib dir and the Qt lib dir none: no RPATH at all install: compile with RPATH to the install dir, the kde lib dir and the Qt lib dir both: compiel with RPATH to the build dir, the install dir, the kde lib dir and the Qt lib dir -sync kde3 stuff with cmake cvs -fix building if kdewidgets and kstyles (get_target_properties doesn't work before the target is defined) Alex svn path=/trunk/KDE/kdelibs/; revision=519312
2006-03-01Mark as advancedLaurent Montel
svn path=/trunk/KDE/kdelibs/; revision=514843
2006-02-16-replace -fexceptions with ${KDE4_ENABLE_EXCEPTIONS} (I'm not sure this is ↵Alexander Neundorf
a good name for the variable) -add install rules for the cmake files in kdelibs/cmake/modules/ -remove debug output and fix typo in FindOpenEXR.cmake Alex svn path=/trunk/KDE/kdelibs/; revision=510319
2006-02-15Hmm, "NOT" can't be lowercased. I tested before lowercasing that last one, ↵David Faure
of course... svn path=/trunk/KDE/kdelibs/; revision=509625
2006-02-15Lowercase some common keywords to improve readabilityDavid Faure
svn path=/trunk/KDE/kdelibs/; revision=509624
2006-02-12-moved the cmake code to find kdewin32 out of FindKDE4.cmake and into its ↵Alexander Neundorf
own FindKDEWIN32.cmake file -added a new FindGNUWIN32.cmake file, which tries to find the gnuwin32 base directory -changed all "FOO_LIBRARY" variable names to "FOO_LIBRARIES" to be more consistent with the other cmake modules -added a macro_getenv_win_path() which replaces all backslahes with slashes from environment variables -modified the kde4_add_kcfg_files() command, so that the generated header is also processed by moc -all tests compile and link Alex CCMAIL:kde-buildsystem@kde.org The changes to the windows stuff are untested, since I don't have a windows box. Please check that everything still works. Please have a look at FindGNUWIN32.cmake, there are probably ways to improve this. The resulting GNUWIN32_DIR variable is used in other cmake modules as default path to search for headers and libraries. svn path=/trunk/KDE/kdelibs/; revision=508648
2006-02-11now cmake 2.3.3 is required, if you have an older version, you get a warningAlexander Neundorf
KDE cmake files are now workaround-free (if I didn't forget any): -use GET_FILENAME_COMPONENT(... ABSOLUTE) instead of QT4_GET_ABS_PATH() -use the new EXECUTE_PROCESS() instead of EXEC_PROGRAM() which discards stderr output -use check_symbol_exists() instead of check_function_exists() since this works better (mainly various windows issues) -use the new WORKING_DIRECTORY argument for ADD_CUSTOM_COMMAND() instead of cmake -E chdir ... Alex svn path=/trunk/KDE/kdelibs/; revision=508407
2006-02-09-move find_package(pcre) back to kdelibs/CMakeLists.txt, otherwise ↵Alexander Neundorf
HAVE_PCREPOSIX doesn't get set -use qPrintable() in kded/kbuildsycoca.cpp patches by Brad King: -fix stat.h for mingw -fix typo in FindQt4.cmake -only depend on dcopidl2ccp and kconfig_compiler when compiling kdelibs Alex svn path=/trunk/KDE/kdelibs/; revision=507620
2006-02-08add some libnamesChristian Ehrlicher
svn path=/trunk/KDE/kdelibs/; revision=507241
2006-02-08the Qt Assistant library is named QtAssistantClientAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=507220
2006-02-01output Qt versionAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=504703
2006-02-01hmm, include/Qt/ seems to be different an every platformAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=504701
2006-02-01there's no Qt.framework on OS XAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=504699
2006-02-01-FindQt4.cmake now checks first for include/QtCore, and only optionally for ↵Alexander Neundorf
include/Qt/ -some tweaks for windows ... quite hard to do if you neither can test it nor know how it should work... Alex svn path=/trunk/KDE/kdelibs/; revision=504695
2006-01-29prepare support for the windows portAlexander Neundorf
update the kde3 cmake files Alex svn path=/trunk/KDE/kdelibs/; revision=503684
2006-01-29-install dcopidl (dcopidl.bat on windows)Alexander Neundorf
-use the correct Qt do dir Alex svn path=/trunk/KDE/kdelibs/; revision=503606
2006-01-29mess with the path only or QtTestBenjamin Reed
svn path=/trunk/KDE/kdelibs/; revision=503588
2006-01-28stupid non-framework QtTestBenjamin Reed
svn path=/trunk/KDE/kdelibs/; revision=503363
2006-01-28-support QtSvg and QtTestAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=503277
2006-01-28-new module to find agg (I don't have it installed here, so I couldn't ↵Alexander Neundorf
really test it) -some cosmetic changes -FindQt4 should now also work if only the debug libraries are present, less LOC -preparation for windows developers Alex svn path=/trunk/KDE/kdelibs/; revision=503263
2006-01-28this wan't intended to be commitedAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=503146
2006-01-28-prefer the Qt binaries in the "special" (like QTDIR) directories over the ↵Alexander Neundorf
Qt binaries in the normal system paths Alex svn path=/trunk/KDE/kdelibs/; revision=503140
2006-01-27-lQtTest is not a framework on osx qt 4.1.0, need -L stillBenjamin Reed
svn path=/trunk/KDE/kdelibs/; revision=503032
2006-01-25add the stuff moved from kdesdk, maybe...Alexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=502383
2006-01-22- add the X11 incklude dirsAlexander Neundorf
-fix for CheckTypeSize.cmake -add thread library (required in cmake) Alex svn path=/trunk/KDE/kdesdk/cmake/; revision=501365
2006-01-22-generate_findpackage_file: a script to simplify generating simple ↵Alexander Neundorf
FindFoo.cmake files -FindLibXml2.cmake and FindLibXslt.cmake: modules to find libxml2 and libxslt, generated by the script above -some tuning in the other modules Alex svn path=/trunk/KDE/kdesdk/cmake/; revision=501125
2006-01-19-fix ui3 handlingAlexander Neundorf
Alex svn path=/trunk/KDE/kdesdk/cmake/; revision=500305