mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-21 05:43:32 -07:00
Merge pull request #6876 from evsh/fix-cmake-qt4
cmake: fix compilation with Qt 4
This commit is contained in:
commit
375c2dfd0b
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ else (QT5)
|
|||
endif (DBUS)
|
||||
find_package(Qt4 4.8.0 COMPONENTS ${QBT_QT_COMPONENTS} REQUIRED)
|
||||
include(${QT_USE_FILE})
|
||||
add_definitions(-DQStringLiteral=QLatin1String)
|
||||
endif (QT5)
|
||||
|
||||
set(CMAKE_AUTOMOC True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue