blob: 94f992df73fa977d5557b1b293243b0b16ca2c73 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
# RWA.Support.DesktopApp
RWA.Support is a remote support solution. The RWA.Support.DesktopApp is
the support tool provided on computers of users that shall be supported
by the IT support team.
The RWA.Support.DesktopApp has been implemented using Qt Quick / QML.
Building the project
--------------------
### Install dependencies
`sudo apt install qt5-default qmlscene build-essential
libgles2-mesa-dev qtquickcontrols2-5-dev qtdeclarative5-dev
qml-module-qtquick-controls2 qml-module-qtquick-dialogs
qml-module-qtquick-extras`
### Cross compiling
To cross compile from linux to windows for example please look at this source
https://stackoverflow.com/questions/10934683/how-do-i-configure-qt-for-cross-compilation-from-linux-to-windows-target
### Clone this repo
`git clone
https://gitlab.das-netzwerkteam.de/remotewebapp/rwa.support.desktopapp.git`
### Making the Makefile
1. `cd rwa.support.desktopapp && mkdir BUILD && cd BUILD`
2. `qmake ../rwa.support.desktopapp.pro`
qmake should have made a `Makefile` now which can be used by `make` to build an executable
### Using the Makefile to build this project
1. `make`
### Test your new executable
1. `./rwa.support.desktopapp`
Installation of dev-environment
-------------------------------
### Clone this repo
`git clone
https://gitlab.das-netzwerkteam.de/remotewebapp/rwa.support.desktopapp.git`
### Install Qt Creator and necessary packages
`sudo apt install qtcreator qt5-default qmlscene build-essential
libgles2-mesa-dev qtquickcontrols2-5-dev qtdeclarative5-dev
qml-module-qtquick-controls2 qml-module-qtquick-dialogs
qml-module-qtquick-extras`
### Import the project into Qt Creator
1. Start Qt Creator
2. Click 'Projects' button -> Click 'Open project' button
3. Navigate to your cloned 'rwa.support.desktopapp' git directory
4. Select `rwa.support.desktopapp.pro` file
### In Qt Creator while in RWA.Support.DesktopApp project:
1. Try pressing CTRL and R (Building and running the project)
2. If Qt Creator asks for an executable file in a dialog box proceed with
next step
### Run settings
1. In the left bar click on 'Projects'
2. Then go to the 'Run' tab
3. Make sure a executable file is selected
4. Its usually `<build-dir>/../build-rwa.support.desktopapp-Desktop-Debug/rwa.support.desktopapp`
5. (Make sure that you tried to build the project at least once, or else the folder won't exist yet)
### Profit
...
### Authors, Copyright and License
This project is licensed under the GNU General Public License version 2 or (at your option) any later version.
The copyright holders of this project are
Copyright 2020 Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de>
Copyright 2020 Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
For further license information, see the LICENSE file in this project or
consult the invidiual license headers of the files of this project.
|