From 98b94925b44aa0a228c43dfb54a449a737d144a6 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Fri, 20 Apr 2012 06:09:35 +0200 Subject: master no more compiles with qt 4.7.x. Setting min qt to 4.8.x --- CMakeLists.txt | 24 ++++++++++++------------ INSTALL | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ae4f3308..e1967fb9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,18 +21,18 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.6.4) # ================================================================================== -FIND_PACKAGE(Qt4 4.7.0 COMPONENTS QtCore QtGui QtNetwork REQUIRED) - -# Ensure we have QtWebKit >= 2.2.0 -FIND_PACKAGE(PkgConfig REQUIRED) -PKG_CHECK_MODULES(PC_QTWEBKIT REQUIRED QtWebKit>=4.8.0) -IF(NOT PC_QTWEBKIT_FOUND) - MESSAGE(FATAL_ERROR "QtWebkit 2.2.0 is required for this version of Rekonq") -ELSE() - MESSAGE(STATUS "Found QtWebKit ${PC_QTWEBKIT_VERSION}") -ENDIF() - -FIND_PACKAGE(KDE4 4.6.90 REQUIRED) +FIND_PACKAGE(Qt4 4.8.0 COMPONENTS QtCore QtGui QtNetwork QtWebKit REQUIRED) + +## Ensure we have QtWebKit >= 2.2.0 +#FIND_PACKAGE(PkgConfig REQUIRED) +#PKG_CHECK_MODULES(PC_QTWEBKIT REQUIRED QtWebKit>=4.8.0) +#IF(NOT PC_QTWEBKIT_FOUND) +# MESSAGE(FATAL_ERROR "QtWebkit 2.2.0 is required for this version of Rekonq") +#ELSE() +# MESSAGE(STATUS "Found QtWebKit ${PC_QTWEBKIT_VERSION}") +#ENDIF() + +FIND_PACKAGE(KDE4 4.7.0 REQUIRED) INCLUDE(MacroOptionalFindPackage) INCLUDE(FindPackageHandleStandardArgs) diff --git a/INSTALL b/INSTALL index d92e6e9b..9bc3ee21 100644 --- a/INSTALL +++ b/INSTALL @@ -5,7 +5,7 @@ To build, rekonq needs at least: -- Qt 4.7.x: +- Qt 4.8.x: - QtWebkit 2.2.x - kdelibs 4.7.x -- cgit v1.2.1