Commit 27d5fd06 authored by Albert Vaca Cintora's avatar Albert Vaca Cintora

Bundle a QRC file instead of installing separate QML files

parent dedb4b1e
......@@ -9,11 +9,7 @@ set(kdeconnectdeclarativeplugin_SRC
objectfactory.cpp
)
set(qml_SRC
qml/RemoteKeyboard.qml
qml/PluginChecker.qml
qml/DBusProperty.qml
)
qt5_add_resources(kdeconnectdeclarativeplugin_SRC resources.qrc)
add_library(kdeconnectdeclarativeplugin SHARED ${kdeconnectdeclarativeplugin_SRC})
target_link_libraries(kdeconnectdeclarativeplugin
......@@ -21,4 +17,4 @@ target_link_libraries(kdeconnectdeclarativeplugin
kdeconnectinterfaces
)
install(TARGETS kdeconnectdeclarativeplugin DESTINATION ${QML_INSTALL_DIR}/org/kde/kdeconnect)
install(FILES qmldir ${qml_SRC} DESTINATION ${QML_INSTALL_DIR}/org/kde/kdeconnect)
install(FILES qmldir DESTINATION ${QML_INSTALL_DIR}/org/kde/kdeconnect)
module org.kde.kdeconnect
plugin kdeconnectdeclarativeplugin
PluginChecker 1.0 PluginChecker.qml
DBusProperty 1.0 DBusProperty.qml
RemoteKeyboard 1.0 RemoteKeyboard.qml
<!DOCTYPE RCC><RCC version="1.0">
<qresource>
<file>qml/DBusProperty.qml</file>
<file>qml/PluginChecker.qml</file>
<file>qml/RemoteKeyboard.qml</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