Skip to content
Snippets Groups Projects
Commit 3ab1244c authored by Massies Alexandre's avatar Massies Alexandre
Browse files

actualisation dossier

parent 64914731
Branches master
No related tags found
No related merge requests found
Showing
with 0 additions and 12906 deletions
# 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*/
cmake_minimum_required(VERSION 3.16)
project(Motus2 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(appMotus2
main.cpp
)
qt_add_qml_module(appMotus2
URI Motus2
VERSION 1.0
QML_FILES
Main.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(appMotus2 PROPERTIES
# MACOSX_BUNDLE_GUI_IDENTIFIER com.example.appMotus2
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(appMotus2
PRIVATE Qt6::Quick
)
include(GNUInstallDirs)
install(TARGETS appMotus2
BUNDLE DESTINATION .
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)
This diff is collapsed.
import QtQuick
Item {
width: 90
height: 60
property alias _textText: _text.text
Rectangle {
id: rectangle
x: 0
y: 0
width: 90
height: 60
color: "#d54646"
Text {
id: _text
x: 0
y: 0
width: 90
height: 60
text: qsTr("Test")
font.pixelSize: 24
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
}
}
}
import QtQuick
Window {
width: 300
height: 100
visible: true
title: qsTr("Hello World")
Case {
id: _case
x: 23
y: 20
_textText: "Test1"
}
Case {
id: _case1
x: 172
y: 25
_textText: "Test2"
}
}
{
"configurations" :
[
{
"directories" :
[
{
"build" : ".",
"hasInstallRule" : true,
"jsonFile" : "directory-.-Debug-b5d6d6d5f82675a5e20b.json",
"minimumCMakeVersion" :
{
"string" : "3.16"
},
"projectIndex" : 0,
"source" : ".",
"targetIndexes" :
[
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15
]
}
],
"name" : "Debug",
"projects" :
[
{
"directoryIndexes" :
[
0
],
"name" : "Motus2",
"targetIndexes" :
[
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15
]
}
],
"targets" :
[
{
"directoryIndex" : 0,
"id" : "all_aotstats::@6890427a1f51a3e7e1df",
"jsonFile" : "target-all_aotstats-Debug-a2eb92e8dbaf39a1e1c0.json",
"name" : "all_aotstats",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "all_qmllint::@6890427a1f51a3e7e1df",
"jsonFile" : "target-all_qmllint-Debug-aed27e6f3f76caabfc30.json",
"name" : "all_qmllint",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "all_qmllint_json::@6890427a1f51a3e7e1df",
"jsonFile" : "target-all_qmllint_json-Debug-1e36b6bba96b043a86bc.json",
"name" : "all_qmllint_json",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "all_qmllint_module::@6890427a1f51a3e7e1df",
"jsonFile" : "target-all_qmllint_module-Debug-998876fdfadcd79dab89.json",
"name" : "all_qmllint_module",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "all_qmltyperegistrations::@6890427a1f51a3e7e1df",
"jsonFile" : "target-all_qmltyperegistrations-Debug-2f11f90606da317fe1ca.json",
"name" : "all_qmltyperegistrations",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "appMotus2::@6890427a1f51a3e7e1df",
"jsonFile" : "target-appMotus2-Debug-7094c3df062f7eb62b1a.json",
"name" : "appMotus2",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "appMotus2_autogen::@6890427a1f51a3e7e1df",
"jsonFile" : "target-appMotus2_autogen-Debug-c2e89b70c05cb6f69df1.json",
"name" : "appMotus2_autogen",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "appMotus2_autogen_timestamp_deps::@6890427a1f51a3e7e1df",
"jsonFile" : "target-appMotus2_autogen_timestamp_deps-Debug-987384c5beb691a9baeb.json",
"name" : "appMotus2_autogen_timestamp_deps",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "appMotus2_copy_qml::@6890427a1f51a3e7e1df",
"jsonFile" : "target-appMotus2_copy_qml-Debug-7c951ae5290c93ac970d.json",
"name" : "appMotus2_copy_qml",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "appMotus2_copy_res::@6890427a1f51a3e7e1df",
"jsonFile" : "target-appMotus2_copy_res-Debug-8c8cd72320d650ce5b7c.json",
"name" : "appMotus2_copy_res",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "appMotus2_qmlimportscan::@6890427a1f51a3e7e1df",
"jsonFile" : "target-appMotus2_qmlimportscan-Debug-3d407593ab9b5d39b1be.json",
"name" : "appMotus2_qmlimportscan",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "appMotus2_qmllint::@6890427a1f51a3e7e1df",
"jsonFile" : "target-appMotus2_qmllint-Debug-37c5ee7e974dc2aace44.json",
"name" : "appMotus2_qmllint",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "appMotus2_qmllint_json::@6890427a1f51a3e7e1df",
"jsonFile" : "target-appMotus2_qmllint_json-Debug-85dc490db551ac805449.json",
"name" : "appMotus2_qmllint_json",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "appMotus2_qmllint_module::@6890427a1f51a3e7e1df",
"jsonFile" : "target-appMotus2_qmllint_module-Debug-dffa6ebc7146724442a3.json",
"name" : "appMotus2_qmllint_module",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "appMotus2_qmltyperegistration::@6890427a1f51a3e7e1df",
"jsonFile" : "target-appMotus2_qmltyperegistration-Debug-3077b6550b46e6e76955.json",
"name" : "appMotus2_qmltyperegistration",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "module_appMotus2_aotstats_target::@6890427a1f51a3e7e1df",
"jsonFile" : "target-module_appMotus2_aotstats_target-Debug-077bc6bc165586c22750.json",
"name" : "module_appMotus2_aotstats_target",
"projectIndex" : 0
}
]
}
],
"kind" : "codemodel",
"paths" :
{
"build" : "C:/Users/pierr/OneDrive/Documents/C++/Motus2/build/Desktop_Qt_6_8_2_MinGW_64_bit-Debug",
"source" : "C:/Users/pierr/OneDrive/Documents/C++/Motus2"
},
"version" :
{
"major" : 2,
"minor" : 7
}
}
{
"backtraceGraph" :
{
"commands" :
[
"install"
],
"files" :
[
"CMakeLists.txt"
],
"nodes" :
[
{
"file" : 0
},
{
"command" : 0,
"file" : 0,
"line" : 38,
"parent" : 0
}
]
},
"installers" :
[
{
"backtrace" : 1,
"component" : "Unspecified",
"destination" : "bin",
"paths" :
[
"appMotus2.exe"
],
"targetId" : "appMotus2::@6890427a1f51a3e7e1df",
"targetIndex" : 5,
"type" : "target"
}
],
"paths" :
{
"build" : ".",
"source" : "."
}
}
{
"cmake" :
{
"generator" :
{
"multiConfig" : false,
"name" : "Ninja"
},
"paths" :
{
"cmake" : "C:/Qt/Tools/CMake_64/bin/cmake.exe",
"cpack" : "C:/Qt/Tools/CMake_64/bin/cpack.exe",
"ctest" : "C:/Qt/Tools/CMake_64/bin/ctest.exe",
"root" : "C:/Qt/Tools/CMake_64/share/cmake-3.29"
},
"version" :
{
"isDirty" : false,
"major" : 3,
"minor" : 29,
"patch" : 3,
"string" : "3.29.3",
"suffix" : ""
}
},
"objects" :
[
{
"jsonFile" : "codemodel-v2-220c9a87eb8258e396d7.json",
"kind" : "codemodel",
"version" :
{
"major" : 2,
"minor" : 7
}
},
{
"jsonFile" : "cache-v2-c86ef8295ca00a1bf67a.json",
"kind" : "cache",
"version" :
{
"major" : 2,
"minor" : 0
}
},
{
"jsonFile" : "cmakeFiles-v1-ec14b03eb1029885402f.json",
"kind" : "cmakeFiles",
"version" :
{
"major" : 1,
"minor" : 0
}
}
],
"reply" :
{
"cache-v2" :
{
"jsonFile" : "cache-v2-c86ef8295ca00a1bf67a.json",
"kind" : "cache",
"version" :
{
"major" : 2,
"minor" : 0
}
},
"cmakeFiles-v1" :
{
"jsonFile" : "cmakeFiles-v1-ec14b03eb1029885402f.json",
"kind" : "cmakeFiles",
"version" :
{
"major" : 1,
"minor" : 0
}
},
"codemodel-v2" :
{
"jsonFile" : "codemodel-v2-220c9a87eb8258e396d7.json",
"kind" : "codemodel",
"version" :
{
"major" : 2,
"minor" : 7
}
}
}
}
{
"backtrace" : 3,
"backtraceGraph" :
{
"commands" :
[
"add_custom_target",
"_qt_internal_deferred_aotstats_setup"
],
"files" :
[
"C:/Qt/6.8.2/mingw_64/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake",
"C:/Qt/6.8.2/mingw_64/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:1085:EVAL",
"CMakeLists.txt"
],
"nodes" :
[
{
"file" : 2
},
{
"file" : 2,
"line" : -1,
"parent" : 0
},
{
"command" : 1,
"file" : 1,
"line" : 1,
"parent" : 1
},
{
"command" : 0,
"file" : 0,
"line" : 1199,
"parent" : 2
}
]
},
"dependencies" :
[
{
"id" : "module_appMotus2_aotstats_target::@6890427a1f51a3e7e1df"
}
],
"id" : "all_aotstats::@6890427a1f51a3e7e1df",
"name" : "all_aotstats",
"paths" :
{
"build" : ".",
"source" : "."
},
"sourceGroups" :
[
{
"name" : "",
"sourceIndexes" :
[
0
]
},
{
"name" : "CMake Rules",
"sourceIndexes" :
[
1,
2,
3,
4,
5
]
}
],
"sources" :
[
{
"backtrace" : 3,
"isGenerated" : true,
"path" : "build/Desktop_Qt_6_8_2_MinGW_64_bit-Debug/CMakeFiles/all_aotstats",
"sourceGroupIndex" : 0
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop_Qt_6_8_2_MinGW_64_bit-Debug/CMakeFiles/all_aotstats.rule",
"sourceGroupIndex" : 1
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop_Qt_6_8_2_MinGW_64_bit-Debug/.rcc/qmlcache/all_aotstats.aotstats.rule",
"sourceGroupIndex" : 1
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop_Qt_6_8_2_MinGW_64_bit-Debug/.rcc/qmlcache/module_appMotus2.aotstats.rule",
"sourceGroupIndex" : 1
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop_Qt_6_8_2_MinGW_64_bit-Debug/.rcc/qmlcache/appMotus2_Main_qml.cpp.rule",
"sourceGroupIndex" : 1
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop_Qt_6_8_2_MinGW_64_bit-Debug/appmotus2_qmltyperegistrations.cpp.rule",
"sourceGroupIndex" : 1
}
],
"type" : "UTILITY"
}
{
"backtrace" : 7,
"backtraceGraph" :
{
"commands" :
[
"add_custom_target",
"_qt_internal_add_phony_target",
"_qt_internal_add_all_qmllint_target",
"_qt_internal_target_enable_qmllint",
"qt6_target_qml_sources",
"qt6_add_qml_module",
"qt_add_qml_module",
"add_dependencies",
"_qt_internal_add_phony_target_dependencies"
],
"files" :
[
"C:/Qt/6.8.2/mingw_64/lib/cmake/Qt6/QtPublicCMakeHelpers.cmake",
"C:/Qt/6.8.2/mingw_64/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake",
"CMakeLists.txt"
],
"nodes" :
[
{
"file" : 2
},
{
"command" : 6,
"file" : 2,
"line" : 15,
"parent" : 0
},
{
"command" : 5,
"file" : 1,
"line" : 1241,
"parent" : 1
},
{
"command" : 4,
"file" : 1,
"line" : 896,
"parent" : 2
},
{
"command" : 3,
"file" : 1,
"line" : 3198,
"parent" : 3
},
{
"command" : 2,
"file" : 1,
"line" : 1542,
"parent" : 4
},
{
"command" : 1,
"file" : 1,
"line" : 1607,
"parent" : 5
},
{
"command" : 0,
"file" : 0,
"line" : 299,
"parent" : 6
},
{
"command" : 8,
"file" : 1,
"line" : 1611,
"parent" : 5
},
{
"command" : 7,
"file" : 0,
"line" : 328,
"parent" : 8
}
]
},
"dependencies" :
[
{
"backtrace" : 9,
"id" : "appMotus2_qmllint::@6890427a1f51a3e7e1df"
}
],
"folder" :
{
"name" : "QtInternalTargets/QmlLinter"
},
"id" : "all_qmllint::@6890427a1f51a3e7e1df",
"name" : "all_qmllint",
"paths" :
{
"build" : ".",
"source" : "."
},
"sources" : [],
"type" : "UTILITY"
}
{
"backtrace" : 7,
"backtraceGraph" :
{
"commands" :
[
"add_custom_target",
"_qt_internal_add_phony_target",
"_qt_internal_add_all_qmllint_target",
"_qt_internal_target_enable_qmllint",
"qt6_target_qml_sources",
"qt6_add_qml_module",
"qt_add_qml_module",
"add_dependencies",
"_qt_internal_add_phony_target_dependencies"
],
"files" :
[
"C:/Qt/6.8.2/mingw_64/lib/cmake/Qt6/QtPublicCMakeHelpers.cmake",
"C:/Qt/6.8.2/mingw_64/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake",
"CMakeLists.txt"
],
"nodes" :
[
{
"file" : 2
},
{
"command" : 6,
"file" : 2,
"line" : 15,
"parent" : 0
},
{
"command" : 5,
"file" : 1,
"line" : 1241,
"parent" : 1
},
{
"command" : 4,
"file" : 1,
"line" : 896,
"parent" : 2
},
{
"command" : 3,
"file" : 1,
"line" : 3198,
"parent" : 3
},
{
"command" : 2,
"file" : 1,
"line" : 1544,
"parent" : 4
},
{
"command" : 1,
"file" : 1,
"line" : 1607,
"parent" : 5
},
{
"command" : 0,
"file" : 0,
"line" : 299,
"parent" : 6
},
{
"command" : 8,
"file" : 1,
"line" : 1611,
"parent" : 5
},
{
"command" : 7,
"file" : 0,
"line" : 328,
"parent" : 8
}
]
},
"dependencies" :
[
{
"backtrace" : 9,
"id" : "appMotus2_qmllint_json::@6890427a1f51a3e7e1df"
}
],
"folder" :
{
"name" : "QtInternalTargets/QmlLinter"
},
"id" : "all_qmllint_json::@6890427a1f51a3e7e1df",
"name" : "all_qmllint_json",
"paths" :
{
"build" : ".",
"source" : "."
},
"sources" : [],
"type" : "UTILITY"
}
{
"backtrace" : 7,
"backtraceGraph" :
{
"commands" :
[
"add_custom_target",
"_qt_internal_add_phony_target",
"_qt_internal_add_all_qmllint_target",
"_qt_internal_target_enable_qmllint",
"qt6_target_qml_sources",
"qt6_add_qml_module",
"qt_add_qml_module",
"add_dependencies",
"_qt_internal_add_phony_target_dependencies"
],
"files" :
[
"C:/Qt/6.8.2/mingw_64/lib/cmake/Qt6/QtPublicCMakeHelpers.cmake",
"C:/Qt/6.8.2/mingw_64/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake",
"CMakeLists.txt"
],
"nodes" :
[
{
"file" : 2
},
{
"command" : 6,
"file" : 2,
"line" : 15,
"parent" : 0
},
{
"command" : 5,
"file" : 1,
"line" : 1241,
"parent" : 1
},
{
"command" : 4,
"file" : 1,
"line" : 896,
"parent" : 2
},
{
"command" : 3,
"file" : 1,
"line" : 3198,
"parent" : 3
},
{
"command" : 2,
"file" : 1,
"line" : 1546,
"parent" : 4
},
{
"command" : 1,
"file" : 1,
"line" : 1607,
"parent" : 5
},
{
"command" : 0,
"file" : 0,
"line" : 299,
"parent" : 6
},
{
"command" : 8,
"file" : 1,
"line" : 1611,
"parent" : 5
},
{
"command" : 7,
"file" : 0,
"line" : 328,
"parent" : 8
}
]
},
"dependencies" :
[
{
"backtrace" : 9,
"id" : "appMotus2_qmllint_module::@6890427a1f51a3e7e1df"
}
],
"folder" :
{
"name" : "QtInternalTargets/QmlLinter"
},
"id" : "all_qmllint_module::@6890427a1f51a3e7e1df",
"name" : "all_qmllint_module",
"paths" :
{
"build" : ".",
"source" : "."
},
"sources" : [],
"type" : "UTILITY"
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment