[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kalgebra] mobile: Material needs QtSvg and not offering it
From: Aleix Pol <aleixpol () kde ! org>
Date: 2015-10-01 1:34:39
Message-ID: E1ZhSlb-0006R3-2W () scm ! kde ! org
[Download RAW message or body]
Git commit 1936cf2f4ae8378c6d7fcbf0be67b89b3ea9cfd7 by Aleix Pol.
Committed on 01/10/2015 at 01:27.
Pushed by apol into branch 'master'.
Material needs QtSvg and not offering it
Just do it explicitly, I'm unsure how else to do this. Otherwise
androiddeployqt doesn't package QtSvg.
M +5 -0 mobile/CMakeLists.txt
http://commits.kde.org/kalgebra/1936cf2f4ae8378c6d7fcbf0be67b89b3ea9cfd7
diff --git a/mobile/CMakeLists.txt b/mobile/CMakeLists.txt
index f2056b7..b034cbb 100644
--- a/mobile/CMakeLists.txt
+++ b/mobile/CMakeLists.txt
@@ -14,6 +14,11 @@ target_link_libraries(kalgebramobile Qt5::Qml Qt5::Quick=
Qt5::Gui
set(DESKTOPFILE_INSTALL ${KDE_INSTALL_APPDIR})
if(${MOBILE_BACKEND} STREQUAL "harmattan")
set(DESKTOPFILE_INSTALL ${KDE_INSTALL_APPDIR}/..)
+elseif(${MOBILE_BACKEND} STREQUAL "material")
+# Material requires QtSvg for icons
+# if we don't link it here explicitly, androiddeployqt doesn't bring it
+ find_package(Qt5Svg REQUIRED)
+ target_link_libraries(kalgebramobile Qt5::Svg)
elseif(KDeclarative_FOUND)
target_link_libraries(kalgebramobile KF5::KDeclarative)
endif()
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic