Commit a09d52cf authored by René J.V. Bertin's avatar René J.V. Bertin

Provide application icon on Mac/MS Window.

Also build kdenlive_render as non-gui (= standard executable on Mac).
parent d4737d26
......@@ -30,6 +30,8 @@ include(KDEInstallDirs)
include(KDECMakeSettings)
include(KDECompilerSettings)
include(ECMOptionalAddSubdirectory)
include(ECMMarkNonGuiExecutable)
include(ECMAddAppIcon)
add_definitions(-DQT_NO_CAST_TO_ASCII)
add_definitions(-DQT_NO_URL_CAST_FROM_STRING)
......
......@@ -7,6 +7,7 @@ set(kdenlive_render_SRCS
)
add_executable(kdenlive_render ${kdenlive_render_SRCS})
ecm_mark_nongui_executable(kdenlive_render)
qt5_use_modules(kdenlive_render Widgets Concurrent DBus)
......
......@@ -217,6 +217,10 @@ if(BUILD_JogShuttle)
)
endif(BUILD_JogShuttle)
# Sets the icon on Windows and OSX
file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/../data/icons/*-apps-kdenlive.png")
ecm_add_app_icon(kdenlive_SRCS ICONS ${ICONS_SRCS})
qt5_add_dbus_adaptor(kdenlive_SRCS
org.kdenlive.MainWindow.xml
mainwindow.h
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment