Commit c5690571 authored by Jasem Mutlaq's avatar Jasem Mutlaq
Browse files

Using kstars.qrc resource file to store important icons, ui, and KNewStuff3...

Using kstars.qrc resource file to store important icons, ui, and KNewStuff3 files. In case the icon is not available in the current theme, we fall back to the icons inside the QRC file. All previous icons are deleted.
parent 365df263
......@@ -647,6 +647,8 @@ ecm_add_app_icon(KSTARS_APP_SRCS ICONS
${CMAKE_CURRENT_SOURCE_DIR}/icons/128-apps-kstars.png
)
qt5_add_resources(KSTARS_APP_SRCS data/kstars.qrc)
add_executable(kstars ${KSTARS_APP_SRCS})
target_link_libraries(kstars KStarsLib)
......@@ -655,7 +657,7 @@ install(TARGETS kstars ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
########### install files ###############
install(PROGRAMS org.kde.kstars.desktop DESTINATION ${KDE_INSTALL_APPDIR})
install(FILES kstars.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})
install(FILES kstars.knsrc DESTINATION ${KDE_INSTALL_CONFDIR})
install(FILES kstarsui.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kstars)
install(FILES fitsviewer.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kstars)
#install(FILES kstars.knsrc DESTINATION ${KDE_INSTALL_CONFDIR})
#install(FILES kstarsui.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kstars)
#install(FILES fitsviewer.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kstars)
install(FILES kstars.notifyrc DESTINATION ${KNOTIFYRC_INSTALL_DIR})
Supports Markdown
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