~mir-team/qtmir/mir-0.16-rebuild

7 by Gerry Boland
Add README
1
This repo contains a QPA plugin to make Qt a Mir server.
2
154 by Gerry Boland
Update README, rename root pro file to match project name
3
Handy way to grab dependencies is with:
239.3.1 by josharenson
Fix trivial documentation typo
4
$ sudo mk-build-deps -ir debian/control
154 by Gerry Boland
Update README, rename root pro file to match project name
5
290.1.3 by Daniel d'Andrada
Fix typo
6
To use, compile and install (building in a "build" subdir as an example):
290.1.1 by Daniel d'Andrada
Update README and readd option to disable building tests
7
$ mkdir build
8
$ cd build
290.1.4 by Daniel d'Andrada
removed :PATH from command line
9
$ cmake -DCMAKE_INSTALL_PREFIX=/usr ../
154 by Gerry Boland
Update README, rename root pro file to match project name
10
$ make
11
$ sudo make install
12
290.1.1 by Daniel d'Andrada
Update README and readd option to disable building tests
13
To enable debug output, replace the single "cmake" command with
14
$ cmake -DCMAKE_BUILD_TYPE=Debug
154 by Gerry Boland
Update README, rename root pro file to match project name
15
(is good to "make clean" beforehand)
16
254.1.1 by Daniel d'Andrada
CONFIG+=no_tests to avoid building the tests and therefore speed up the build
17
To avoid building the tests (to speed up the build):
290.1.1 by Daniel d'Andrada
Update README and readd option to disable building tests
18
$ cmake -DNO_TESTS=true
154 by Gerry Boland
Update README, rename root pro file to match project name
19
20
To test, enter the demos directory, run:
7 by Gerry Boland
Add README
21
31 by Gerry Boland
Have MirSurfaceItems owned by CPP, not the V8 engine. This means JS garbage collection isn't used, so QML must explicitly call "release()" on the surface for it to be released.
22
$ export QT_QPA_PLATFORM=mirserver
27 by Gerry Boland
Add demo shell and update readme
23
24
then run the Qt application of your choice (qmlscene best). As example, try
25
32 by Gerry Boland
Make demo shell a little more advanced
26
$ qmlscene qml-demo-shell/qml-demo-shell.qml
31 by Gerry Boland
Have MirSurfaceItems owned by CPP, not the V8 engine. This means JS garbage collection isn't used, so QML must explicitly call "release()" on the surface for it to be released.
27
28
and then try running an application:
29
30
$ mir_demo_client_egltriangle --desktop_file_hint=/usr/share/applications/gallery-app.desktop
40 by Daniel d'Andrada
Add qml-demo-client
31
or
154 by Gerry Boland
Update README, rename root pro file to match project name
32
$ export QT_QPA_PLATFORM=ubuntumirclient
51 by Daniel d'Andrada
Update README
33
$ qmlscene qml-demo-client/qml-demo-client.qml --desktop_file_hint=/usr/share/click/preinstalled/com.ubuntu.calendar/0.4.172/calendar-app.desktop
154 by Gerry Boland
Update README, rename root pro file to match project name
34
35
where the desktop file hint specifies an existing file.