add support for building app on android.

This commit is contained in:
2020-06-28 21:25:44 -04:00
parent 5479b04190
commit a3be9379c2
7 changed files with 138 additions and 1 deletions

View File

@@ -6,6 +6,10 @@ set(qiflora_SRCS
main.cpp
)
if (CMAKE_SYSTEM_NAME STREQUAL "Android")
kirigami_package_breeze_icons(ICONS view-refresh help-about filename-bpm-amarok colors-chromablue quickopen contrast window-close mail-sent globe)
endif()
qt5_add_resources(RESOURCES resources.qrc)
add_executable(qiflora ${qiflora_SRCS} ${RESOURCES})
target_link_libraries(qiflora Qt5::Core Qt5::Qml Qt5::Quick Qt5::Svg Qt5::Bluetooth Qt5::Charts KF5::CoreAddons)