diff --git a/Motus/.gitignore b/Motus/.gitignore deleted file mode 100644 index aa3808c5a9e01bdb4728d53628e036914f616c56..0000000000000000000000000000000000000000 --- a/Motus/.gitignore +++ /dev/null @@ -1,82 +0,0 @@ -# This file is used to ignore files which are generated -# ---------------------------------------------------------------------------- - -*~ -*.autosave -*.a -*.core -*.moc -*.o -*.obj -*.orig -*.rej -*.so -*.so.* -*_pch.h.cpp -*_resource.rc -*.qm -.#* -*.*# -core -!core/ -tags -.DS_Store -.directory -*.debug -Makefile* -*.prl -*.app -moc_*.cpp -ui_*.h -qrc_*.cpp -Thumbs.db -*.res -*.rc -/.qmake.cache -/.qmake.stash - -# qtcreator generated files -*.pro.user* -*.qbs.user* -CMakeLists.txt.user* - -# xemacs temporary files -*.flc - -# Vim temporary files -.*.swp - -# Visual Studio generated files -*.ib_pdb_index -*.idb -*.ilk -*.pdb -*.sln -*.suo -*.vcproj -*vcproj.*.*.user -*.ncb -*.sdf -*.opensdf -*.vcxproj -*vcxproj.* - -# MinGW generated files -*.Debug -*.Release - -# Python byte code -*.pyc - -# Binaries -# -------- -*.dll -*.exe - -# Directories with generated files -.moc/ -.obj/ -.pch/ -.rcc/ -.uic/ -/build*/ diff --git a/Motus/CMakeLists.txt b/Motus/CMakeLists.txt deleted file mode 100644 index 17c236083911b3373f025510d9ef47bdca578fb7..0000000000000000000000000000000000000000 --- a/Motus/CMakeLists.txt +++ /dev/null @@ -1,47 +0,0 @@ -cmake_minimum_required(VERSION 3.16) - -project(Motus VERSION 0.1 LANGUAGES CXX) - -set(CMAKE_CXX_STANDARD_REQUIRED ON) - -find_package(Qt6 REQUIRED COMPONENTS Quick) - -qt_standard_project_setup(REQUIRES 6.5) - -qt_add_executable(appMotus - main.cpp -) - -qt_add_qml_module(appMotus - URI Motus - VERSION 1.0 - QML_FILES - Main.qml - QML_FILES Case.qml - RESOURCES Ressources.qrc - QML_FILES Case.qml - QML_FILES Case.qml - QML_FILES Case.qml -) - -# Qt for iOS sets MACOSX_BUNDLE_GUI_IDENTIFIER automatically since Qt 6.1. -# If you are developing for iOS or macOS you should consider setting an -# explicit, fixed bundle identifier manually though. -set_target_properties(appMotus PROPERTIES -# MACOSX_BUNDLE_GUI_IDENTIFIER com.example.appMotus - MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION} - MACOSX_BUNDLE_SHORT_VERSION_STRING ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR} - MACOSX_BUNDLE TRUE - WIN32_EXECUTABLE TRUE -) - -target_link_libraries(appMotus - PRIVATE Qt6::Quick -) - -include(GNUInstallDirs) -install(TARGETS appMotus - BUNDLE DESTINATION . - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} - RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} -) diff --git a/Motus/Case.qml b/Motus/Case.qml deleted file mode 100644 index d754299ae2cd80648e5d646ca72c734dd129870a..0000000000000000000000000000000000000000 --- a/Motus/Case.qml +++ /dev/null @@ -1,19 +0,0 @@ -import QtQuick - -Item { - width: 90 - height: 60 - property alias _textText: _text.text - Text { - id: _text - x: 0 - y: 0 - width: 90 - height: 60 - text: qsTr("Lettre") - font.pixelSize: 24 - horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter - } - -} diff --git a/Motus/Main.qml b/Motus/Main.qml deleted file mode 100644 index 39f876586369d9738e6570a0f10876feba687753..0000000000000000000000000000000000000000 --- a/Motus/Main.qml +++ /dev/null @@ -1,18 +0,0 @@ -import QtQuick - -Window { - width: 1920 - height: 1080 - visible: true - title: qsTr("Hello World") - - Rectangle { - id: rectangle - x: 0 - y: 0 - width: 1920 - height: 1080 - color: "#cb4848" - focus: true - } -} diff --git a/Motus/Ressources.qrc b/Motus/Ressources.qrc deleted file mode 100644 index 388ced6d162a2ff549f9ce804e0ee581a39adf5d..0000000000000000000000000000000000000000 --- a/Motus/Ressources.qrc +++ /dev/null @@ -1,5 +0,0 @@ -<RCC> - <qresource prefix="/"> - <file>Case.qml</file> - </qresource> -</RCC> diff --git a/Motus/main.cpp b/Motus/main.cpp deleted file mode 100644 index 643f1b08d45ed689b1c4d7e3497527336e559293..0000000000000000000000000000000000000000 --- a/Motus/main.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include <QGuiApplication> -#include <QQmlApplicationEngine> - -int main(int argc, char *argv[]) -{ - QGuiApplication app(argc, argv); - - QQmlApplicationEngine engine; - QObject::connect( - &engine, - &QQmlApplicationEngine::objectCreationFailed, - &app, - []() { QCoreApplication::exit(-1); }, - Qt::QueuedConnection); - engine.loadFromModule("Motus", "Main"); - - return app.exec(); -}