diff --git a/Motus/CMakeLists.txt b/Motus/CMakeLists.txt index 5a9421c326146a777702d354629f2cee76611a72..476030bdbd0da5528c84cf798925d7fbe964bafd 100644 --- a/Motus/CMakeLists.txt +++ b/Motus/CMakeLists.txt @@ -17,7 +17,7 @@ qt_add_qml_module(appMotus VERSION 1.0 QML_FILES - Main.qml + Case.qml Key.qml BackKey.qml @@ -29,7 +29,15 @@ qt_add_qml_module(appMotus wordchooser.cpp RESOURCES - Ressources.qrc + + QML_FILES Main.qml + RESOURCES back_key.png + RESOURCES + RESOURCES + RESOURCES words_alpha.txt + RESOURCES words_alpha.txt + RESOURCES words_alpha.txt + RESOURCES words_alpha.txt ) # Qt for iOS sets MACOSX_BUNDLE_GUI_IDENTIFIER automatically since Qt 6.1. diff --git a/Motus/Main.qml b/Motus/Main.qml index 3f87d1e2018ec4f56f100886c5300ae71ffcc4eb..bfa85f0b7fbb7729adc562b872855f1876d61903 100644 --- a/Motus/Main.qml +++ b/Motus/Main.qml @@ -414,6 +414,16 @@ Window { event.accepted = true; } } + } + + Image { + id: image + x: 1074 + y: 122 + width: 346 + height: 327 + source: "back_key.png" + fillMode: Image.PreserveAspectFit } } } diff --git a/Motus/Ressources.qrc b/Motus/Ressources.qrc index 10ea4bd56d51efeaee741beb607d68e743fc5220..7646d2b36cacd48ff133c45ebae93beeb381e869 100644 --- a/Motus/Ressources.qrc +++ b/Motus/Ressources.qrc @@ -1,11 +1 @@ -<RCC> - <qresource prefix="/"> - <file>BackKey.qml</file> - <file>Bouton.qml</file> - <file>Case.qml</file> - <file>Key.qml</file> - <file>words_alpha.txt</file> - <file>back_key.png</file> - <file>Choosebutton.qml</file> - </qresource> -</RCC> +<RCC/>