aboutsummaryrefslogtreecommitdiff
path: root/modules/FindQt4.cmake
AgeCommit message (Collapse)Author
2006-06-30This is safe to add.Thiago Macieira
svn path=/trunk/KDE/kdelibs/; revision=556460
2006-06-20Fix compilation on OSX: QtUiTools also doesn't come as a framework.Marijn Kruisselbrink
svn path=/trunk/KDE/kdelibs/; revision=553216
2006-06-20Fix probable copy/paste error.Paulo Moura Guedes
svn path=/trunk/KDE/kdelibs/; revision=553182
2006-06-07-first check for qmake, then for qmake-qt4, this is in sync with cmake's ↵Alexander Neundorf
FindQt4.cmake and better for us (as we use qt-copy) Alex svn path=/trunk/KDE/kdelibs/; revision=549218
2006-05-25Oops, forgot to remove that debugging message before committing.Simon Perreault
svn path=/trunk/KDE/kdelibs/; revision=544681
2006-05-25Check for qmake-qt4 before qmake. Doing otherwise would fail on Debian becauseSimon Perreault
qmake comes from Qt 3. svn path=/trunk/KDE/kdelibs/; revision=544680
2006-05-19-merge some fixes from cmake cvs:Alexander Neundorf
the macros for ui and rcc files now also work with absolute paths correct qouting for the qmake file Alex svn path=/trunk/KDE/kdelibs/; revision=542628
2006-05-18Fix debug/release link problem for msvc.Peter Kümmel
Make two steps to be more clear: 1. revert to cmake's cvs version. 2. add changes for msvc this is step 2. CCMAIL:Paulo.Guedes@artelecom.pt CCMAIL:neundorf@kde.org svn path=/trunk/KDE/kdelibs/; revision=542213
2006-05-18Fix debug/release link problem for msvc.Peter Kümmel
Make two steps to be more clear: 1. revert to cmake's cvs version. 2. add changes for msvc this is step 1. CCMAIL:Paulo.Guedes@artelecom.pt CCMAIL:neundorf@kde.org svn path=/trunk/KDE/kdelibs/; revision=542211
2006-05-16If we are building kdelibs with debug build type then choose the debug Qt ↵Paulo Moura Guedes
libraries. Before, if both were available, the release Qt libs were always chosen, which makes msvc apps crash. I think this finnishes the build-system cycle for the win32 port, for now :) CCMAIL: kde-buildsystem@kde.org CCMAIL: kde-windows@kde.org svn path=/trunk/KDE/kdelibs/; revision=541628
2006-05-16Taken from cmake cvs. This fixes moc and uic for msys.Paulo Moura Guedes
svn path=/trunk/KDE/kdelibs/; revision=541480
2006-05-11-enhanced syntax for KDE4_ADD_EXECUTABLE and KDE4_ADD_KDEINIT_EXECUTABLE:Alexander Neundorf
KDE4_ADD_EXECUTABLE(name [NOGUI] [RUN_UNINSTALLED] srcs...) KDE4_ADD_KDEINIT_EXECUTABLE(name [NOGUI] [RUN_UNINSTALLED] srcs...) -> NOGUI and RUN_UNINSTALLED can now be used independently together. This also means that RUN_UNINSTALLED no longer automatically means NOGUI. -build libs and plugins with empty RPATH, so they don't have to be relinked during make install Alex CCMAIL: kde-buildsystem@kde.org svn path=/trunk/KDE/kdelibs/; revision=539757
2006-05-09Abort if QtCore couldn't be found - for mikmak and his strange permission ↵David Faure
problem ;) svn path=/trunk/KDE/kdelibs/; revision=539150
2006-05-02Fix Qt version parsing to accept "4.1.3-snapshot-20060502"David Faure
svn path=/trunk/KDE/kdelibs/; revision=536688
2006-04-27-use MACRO_ADD_FILE_DEPENDENCIES() and remove the duplicated ↵Alexander Neundorf
_QT4_ADD_FILE_DEPENDENCIES() Alex svn path=/trunk/KDE/kdelibs/; revision=534769
2006-04-27-use qmake to tell us which uic and moc we should useAlexander Neundorf
-apply patches from Clinton Stimpson and Kenneth Moreland, fixing some QtMain issues on windows Alex svn path=/trunk/KDE/kdelibs/; revision=534767
2006-04-27Add QTUITOOLS macroLaurent Montel
svn path=/trunk/KDE/kdelibs/; revision=534733
2006-04-17Move windowsystem check earlier in file and use the resultTanner Lovelace
to short circuit checks for Motif on non X11 platforms. svn path=/trunk/KDE/kdelibs/; revision=530857
2006-04-12Moved out the 4 values from config.h that depend on the installation prefix,David Faure
so that changing the prefix doesn't mean recompiling -all- of kdelibs, only a few files. One more step towards modular config-foo.h files. svn path=/trunk/KDE/kdelibs/; revision=529149
2006-04-12Make it user friendly:Stephan Kulow
- Qt qmake not found! + The installed Qt version 4.1.0-rc1 is too old, at least version 4.1.1 is required svn path=/trunk/KDE/kdelibs/; revision=528959
2006-04-09-better error handling in FindQt4.cmakeAlexander Neundorf
-use add_custom_command instead of add_custom_target(), saves one line of code Alex svn path=/trunk/KDE/kdelibs/; revision=527955
2006-04-08abort configuring if installed used qt version is to old Ralf Habacker
svn path=/trunk/KDE/kdelibs/; revision=527493
2006-04-07-in ADD_CUSTOM_COMMAND: use MAIN_DEPENDENCY, where the depend file is a file ↵Alexander Neundorf
which will not be compiled by the C/C++ compiler and use DEPENDS for everything else and where it's unsure whether it's a header or an implementation file this fixes the build in kdelibs/kdewidgets/ partly, now it breaks with "unknown interface" :-/ Alex svn path=/trunk/KDE/kdelibs/; revision=527355
2006-04-04-fix detection of Qt4 qmakeAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=526524
2006-04-01add QT_MKSPECS_DIRChristian Ehrlicher
svn path=/trunk/KDE/kdelibs/; revision=525241
2006-03-31-revert to not grepping the qmake spec file, since this is unreliable and ↵Alexander Neundorf
breaks the build on several systems Alex svn path=/trunk/KDE/kdelibs/; revision=525015
2006-03-31EXISTS() seems to eat the NOT _skip part, at least with cmake 2.3-20060317; ↵Adriaan de Groot
reversing the terms works better. svn path=/trunk/KDE/kdelibs/; revision=524807
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