-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.in
39 lines (30 loc) · 1.36 KB
/
README.in
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
# =IMAGE=


This is my [Qt5 QML](https://doc.qt.io/qt-5/qtqml-index.html) development
environment. Based on
[Debian](https://debian.org/) [Buster](https://wiki.debian.org/DebianBuster)
[container image](https://hub.docker.com/r/mkovac/buster), adding
common development tools and [QtCreator IDE](https://doc.qt.io/qtcreator/).
## Usage
I prefer to run container and a `bash` shell and keep this in background,
then run `QtCreator` in other terminal. The following commands include
necessary environment variables and switches for painless usage:
$ docker run --rm -ti --name qtcreator \
--device /dev/dri:/dev/dri \
--volume /tmp/.X11-unix:/tmp/.X11-unix \
--env DISPLAY=$DISPLAY \
--env http_proxy=http://proxy:3128 \
--env https_proxy=http://proxy:3128 \
--env QT_SELECT=qt5 \
--volume $HOME/qml:/home/developer:Z \
--env DEVUID=$(id -u) \
--env DEVGID=$(id -g) \
=NAMESPACE=/=IMAGE= \
bash
$ docker exec -ti qtcreator su - developer -c qtcreator
## Notes
If you like the image, star it. Send comments or package suggestions to
include in daily build as [github issue or pull
request](https://github.com/multicast/docker-buster-qml).
# Packages