Public Repository

Last pushed: 2 years ago
Short Description
The qml-material demo, from https://github.com/papyros/qml-material
Full Description

I managed to run the qml-material demo, so I created a docker image.

Video (not by myself):
https://youtu.be/nBa_kJQFwMk

To run:
docker run -ti --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix noamraph/qml-material-demo

Here's the Dockerfile:

# To run:
# docker run -ti --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix qml-material-demo
#
# To test:
# docker run -ti --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix qml-material-demo ctest -V

FROM ubuntu:15.10

RUN apt-get update && apt-get install -y cmake qt5-default git build-essential extra-cmake-modules qtdeclarative5-dev qml-module-qttest qml-module-qtquick-controls qml-module-qtgraphicaleffects libqt5svg5 qmlscene

RUN git clone https://github.com/papyros/qml-material.git /root/qml-material

# according to the instruction in README.md:
RUN mkdir /root/qml-material/build
WORKDIR /root/qml-material/build
RUN cmake ..
RUN make
RUN make install

CMD qmlscene -I /root/qml-material/modules/ /root/qml-material/demo/main.qml
Docker Pull Command
Owner
noamraph