Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 171e602f authored by Laurent Montel's avatar Laurent Montel 😁

Look at to use gwenview without install it

parent b02bf423
......@@ -11,7 +11,17 @@ set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake )
cmake_minimum_required (VERSION 2.8.12 FATAL_ERROR)
set (QT_MIN_VERSION "5.6.0")
find_package(ECM 1.7.0 REQUIRED NO_MODULE)
option(RUN_UNINSTALL "test run uninstalled apps (experimental)" FALSE)
set(ECM_VERSION 1.7.0)
# ECM setup
if (RUN_UNINSTALL)
set(ECM_VERSION "5.38.0")
endif()
find_package(ECM ${ECM_VERSION} REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
include(KDEInstallDirs)
......
......@@ -60,6 +60,9 @@ ki18n_wrap_ui(gwenview_SRCS
browsemainpage.ui
)
qt5_add_resources(gwenview_SRCS gwenview.qrc)
if (NOT GWENVIEW_SEMANTICINFO_BACKEND_NONE)
ki18n_wrap_ui(gwenview_SRCS
semanticinfosidebaritem.ui
......@@ -103,9 +106,6 @@ endif (APPLE)
install(TARGETS gwenview
${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
install(FILES gwenviewui.rc
DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/gwenview)
install(PROGRAMS org.kde.gwenview.desktop
DESTINATION ${KDE_INSTALL_APPDIR})
install(FILES org.kde.gwenview.appdata.xml
......
<RCC>
<qresource prefix="/kxmlgui5/gwenview">
<file>gwenviewui.rc</file>
</qresource>
</RCC>
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