Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MotusEtBoucheCousue
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Massies Alexandre
MotusEtBoucheCousue
Commits
2a95ebf4
Commit
2a95ebf4
authored
4 months ago
by
Massies Alexandre
Browse files
Options
Downloads
Patches
Plain Diff
réorga
parent
4f50453c
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
Motus/.gitignore
+82
-0
82 additions, 0 deletions
Motus/.gitignore
Motus/Motus.pro
+19
-0
19 additions, 0 deletions
Motus/Motus.pro
Motus/main.cpp
+22
-0
22 additions, 0 deletions
Motus/main.cpp
Motus/main.qml
+8
-0
8 additions, 0 deletions
Motus/main.qml
with
131 additions
and
0 deletions
Motus/.gitignore
0 → 100644
+
82
−
0
View file @
2a95ebf4
# 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*/
This diff is collapsed.
Click to expand it.
Motus/Motus.pro
0 → 100644
+
19
−
0
View file @
2a95ebf4
QT
+=
quick
SOURCES
+=
\
main
.
cpp
resources
.
files
=
main
.
qml
resources
.
prefix
=
/
$$
{
TARGET
}
RESOURCES
+=
resources
#
Additional
import
path
used
to
resolve
QML
modules
in
Qt
Creator
'
s
code
model
QML_IMPORT_PATH
=
#
Additional
import
path
used
to
resolve
QML
modules
just
for
Qt
Quick
Designer
QML_DESIGNER_IMPORT_PATH
=
#
Default
rules
for
deployment
.
qnx
:
target
.
path
=
/
tmp
/
$$
{
TARGET
}
/
bin
else
:
unix
:
!
android
:
target
.
path
=
/
opt
/
$$
{
TARGET
}
/
bin
!
isEmpty
(
target
.
path
)
:
INSTALLS
+=
target
This diff is collapsed.
Click to expand it.
Motus/main.cpp
0 → 100644
+
22
−
0
View file @
2a95ebf4
#include
<QGuiApplication>
#include
<QQmlApplicationEngine>
int
main
(
int
argc
,
char
*
argv
[])
{
QGuiApplication
app
(
argc
,
argv
);
QQmlApplicationEngine
engine
;
const
QUrl
url
(
QStringLiteral
(
"qrc:/Motus/main.qml"
));
QObject
::
connect
(
&
engine
,
&
QQmlApplicationEngine
::
objectCreated
,
&
app
,
[
url
](
QObject
*
obj
,
const
QUrl
&
objUrl
)
{
if
(
!
obj
&&
url
==
objUrl
)
QCoreApplication
::
exit
(
-
1
);
},
Qt
::
QueuedConnection
);
engine
.
load
(
url
);
return
app
.
exec
();
}
This diff is collapsed.
Click to expand it.
Motus/main.qml
0 → 100644
+
8
−
0
View file @
2a95ebf4
import
QtQuick
Window
{
width
:
640
height
:
480
visible
:
true
title
:
qsTr
(
"
Hello World
"
)
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment