Public Repository

Last pushed: 2 years ago
Short Description
The qml-material demo, from
Full Description

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

Video (not by myself):

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 /root/qml-material

# according to the instruction in
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

Comments (0)