mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-08 08:32:31 -06:00
Merge pull request #6876 from evsh/fix-cmake-qt4
cmake: fix compilation with Qt 4
This commit is contained in:
@@ -31,6 +31,7 @@ else (QT5)
|
|||||||
endif (DBUS)
|
endif (DBUS)
|
||||||
find_package(Qt4 4.8.0 COMPONENTS ${QBT_QT_COMPONENTS} REQUIRED)
|
find_package(Qt4 4.8.0 COMPONENTS ${QBT_QT_COMPONENTS} REQUIRED)
|
||||||
include(${QT_USE_FILE})
|
include(${QT_USE_FILE})
|
||||||
|
add_definitions(-DQStringLiteral=QLatin1String)
|
||||||
endif (QT5)
|
endif (QT5)
|
||||||
|
|
||||||
set(CMAKE_AUTOMOC True)
|
set(CMAKE_AUTOMOC True)
|
||||||
|
|||||||
Reference in New Issue
Block a user