mirror of https://github.com/KDE/kasts.git
Add QTP0004 policy setting
Also move QTP0001 policy setting to the toplevel CMakeLists.txt file instead of scattering it around.
This commit is contained in:
parent
aa9bbc1bdb
commit
4dd443c059
|
@ -83,6 +83,8 @@ add_definitions(-DQT_NO_CAST_FROM_ASCII
|
|||
-DQT_USE_QSTRINGBUILDER
|
||||
)
|
||||
|
||||
qt_policy(SET QTP0001 NEW)
|
||||
qt_policy(SET QTP0004 NEW)
|
||||
ki18n_install(po)
|
||||
|
||||
install(PROGRAMS org.kde.kasts.desktop DESTINATION ${KDE_INSTALL_APPDIR})
|
||||
|
|
|
@ -76,7 +76,6 @@ qt_add_resources(kasts "icons"
|
|||
../icons/kasts-tray-dark.svg
|
||||
)
|
||||
|
||||
qt_policy(SET QTP0001 NEW)
|
||||
qt_add_qml_module(kasts URI org.kde.kasts
|
||||
QML_FILES
|
||||
qml/Main.qml
|
||||
|
|
|
@ -39,7 +39,6 @@ add_library(KMediaSession
|
|||
mpris2/mpris2.cpp
|
||||
)
|
||||
|
||||
qt_policy(SET QTP0001 NEW)
|
||||
qt_add_qml_module(KMediaSession URI org.kde.kmediasession
|
||||
OUTPUT_DIRECTORY ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/org/kde/kmediasession
|
||||
)
|
||||
|
|
|
@ -12,7 +12,6 @@ endif()
|
|||
|
||||
add_executable(kmediasession-example main.cpp)
|
||||
|
||||
qt_policy(SET QTP0001 NEW)
|
||||
qt_add_qml_module(kmediasession-example URI org.kde.kmediasession-example
|
||||
QML_FILES
|
||||
qml/Main.qml
|
||||
|
|
Loading…
Reference in New Issue