projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
core: Separate SQL current and upgrade scripts
[quassel.git]
/
src
/
qtui
/
CMakeLists.txt
diff --git
a/src/qtui/CMakeLists.txt
b/src/qtui/CMakeLists.txt
index
8510a71
..
5fee3df
100644
(file)
--- a/
src/qtui/CMakeLists.txt
+++ b/
src/qtui/CMakeLists.txt
@@
-102,6
+102,13
@@
if (LibsnoreQt5_FOUND)
list(APPEND LIBS Snore::Libsnore Snore::LibsnoreSettings)
endif()
list(APPEND LIBS Snore::Libsnore Snore::LibsnoreSettings)
endif()
+if (Qt5Multimedia_FOUND)
+ add_definitions(-DHAVE_QTMULTIMEDIA)
+ list(APPEND QT_MODULES Multimedia)
+ set(SOURCES ${SOURCES} qtmultimedianotificationbackend.cpp)
+ set(FORMS ${FORMS} qtmultimedianotificationconfigwidget.ui)
+endif()
+
if (PHONON_FOUND OR Phonon4Qt5_FOUND)
add_definitions(-DHAVE_PHONON)
include_directories(${PHONON_INCLUDES})
if (PHONON_FOUND OR Phonon4Qt5_FOUND)
add_definitions(-DHAVE_PHONON)
include_directories(${PHONON_INCLUDES})
@@
-137,10
+144,18
@@
if (HAVE_WEBKIT)
endif()
endif()
endif()
endif()
+if (HAVE_WEBENGINE)
+ add_definitions(-DHAVE_WEBENGINE)
+ list(APPEND QT_MODULES WebEngine)
+ if (USE_QT5)
+ list(APPEND QT_MODULES WebEngineWidgets)
+ endif()
+endif()
+
if(HAVE_SSL)
set(SOURCES ${SOURCES} sslinfodlg.cpp)
set(FORMS ${FORMS} sslinfodlg.ui)
if(HAVE_SSL)
set(SOURCES ${SOURCES} sslinfodlg.cpp)
set(FORMS ${FORMS} sslinfodlg.ui)
-endif(
HAVE_SSL
)
+endif()
if (INDICATEQT_FOUND)
add_definitions(-DHAVE_INDICATEQT)
if (INDICATEQT_FOUND)
add_definitions(-DHAVE_INDICATEQT)
@@
-156,6
+171,12
@@
if (WITH_NOTIFICATION_CENTER)
list(APPEND LIBS "/System/Library/Frameworks/Foundation.framework")
endif()
list(APPEND LIBS "/System/Library/Frameworks/Foundation.framework")
endif()
+if (KF5Sonnet_FOUND)
+ add_definitions(-DHAVE_SONNET)
+ list(APPEND SOURCES settingspages/sonnetsettingspage.cpp)
+ list(APPEND LIBS KF5::SonnetUi)
+endif()
+
foreach(FORM ${FORMS})
set(FORMPATH ${FORMPATH} ui/${FORM})
endforeach(FORM ${FORMS})
foreach(FORM ${FORMS})
set(FORMPATH ${FORMPATH} ui/${FORM})
endforeach(FORM ${FORMS})