[keyboardq] Make QML available

- name default / example QML conventionally
 - copy QRC from keyboard -- the QML needs to be included in the QRC --
   since we don't want to have the QML in the keyboard module.
This commit is contained in:
Adriaan de Groot 2020-04-03 12:23:21 +02:00
parent 835850c02a
commit c602f2493a
3 changed files with 8 additions and 1 deletions

View File

@ -12,7 +12,7 @@ calamares_add_plugin( keyboardq
${_keyboard}/SetKeyboardLayoutJob.cpp
${_keyboard}/keyboardwidget/keyboardglobal.cpp
RESOURCES
${_keyboard}/keyboard.qrc
keyboardq.qrc
LINK_PRIVATE_LIBRARIES
calamaresui
SHARED_LIB

View File

@ -0,0 +1,7 @@
<RCC>
<qresource>
<file alias="kbd-model-map">../keyboard/kbd-model-map</file>
<file alias="images/restore.png">../keyboard/images/restore.png</file>
<file>keyboardq.qml</file>
</qresource>
</RCC>