1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-23 08:13:27 +00:00

Bump minimum Qt version to 4.8

Earlier versions may continue to work, but we don't guarantee they will.
This commit is contained in:
Mike Gelfand 2016-04-24 07:41:06 +00:00
parent 076fd29098
commit 682b11aac4
2 changed files with 2 additions and 2 deletions

View file

@ -264,7 +264,7 @@ if(ENABLE_QT)
else() else()
set(QT4_REQUIRED_MODULES QtCore QtGui QtNetwork) set(QT4_REQUIRED_MODULES QtCore QtGui QtNetwork)
set(QT4_OPTIONAL_MODULES QtDBus QAxContainer QAxServer) set(QT4_OPTIONAL_MODULES QtDBus QAxContainer QAxServer)
find_package(Qt4 4.6.2 QUIET COMPONENTS ${QT4_REQUIRED_MODULES} OPTIONAL_COMPONENTS ${QT4_OPTIONAL_MODULES}) find_package(Qt4 4.8.0 QUIET COMPONENTS ${QT4_REQUIRED_MODULES} OPTIONAL_COMPONENTS ${QT4_OPTIONAL_MODULES})
foreach(M ${QT4_REQUIRED_MODULES}) foreach(M ${QT4_REQUIRED_MODULES})
string(TOUPPER "${M}" M_UPPER) string(TOUPPER "${M}" M_UPPER)
if(QT_${M_UPPER}_FOUND) if(QT_${M_UPPER}_FOUND)

View file

@ -36,7 +36,7 @@ BUILDING ON OS X
BUILDING ON UNIX BUILDING ON UNIX
1. Prerequisites: Qt >= 4.6 and its development packages 1. Prerequisites: Qt >= 4.8 and its development packages
2. Build Transmission as normal 2. Build Transmission as normal
3. In the qt/ directory, type "qmake qtr.pro" (or "qmake-qt4 qtr.pro", or "qmake-qt5 qtr.pro") 3. In the qt/ directory, type "qmake qtr.pro" (or "qmake-qt4 qtr.pro", or "qmake-qt5 qtr.pro")
4. In the qt/ directory, type "make" 4. In the qt/ directory, type "make"