title: Trouble using QML material design: "QtQuick.Controls.Material" is not installed
body: <p>I'm following <a href="https://github.com/eyllanesc/stackoverflow/tree/586e25c95bc5014874c58389c12947bf77037afc/PyQt%20Material%20Qml" rel="nofollow noreferrer">this</a> tutorial and I'm having a lot of QML module errors. I had to modify to <code>QtQuick.Controls 1.1</code> because <code>2.0, 2.1, 2.3</code> wouldn't work. Here's my QML now:</p>
  
  <pre><code>import QtQuick.Window 2.1
  import QtQuick 2.0
  import QtQuick.Controls 1.1
  import QtQuick.Controls.Material 2.1
  </code></pre>
  
  <p>Now I get only</p>
  
  <pre><code>"QtQuick.Controls.Material" is not installed
  </code></pre>
  
  <p>I'm using Ubuntu 17.10.1 and my <code>PyQt</code> reports version <code>5.7</code>. Qt's <a href="https://doc.qt.io/qt-5.10/qtquickcontrols2-material.html" rel="nofollow noreferrer">website</a> says:</p>
  
  <pre><code>Import Statement:   import QtQuick.Controls.Material 2.3
  Since:  Qt 5.7
  </code></pre>
  
  <p>but it won't work. Since I have <code>Qt 5.7</code> I should be able to use material design as the site says. But I can't even use <code>QtQuick.Controls 2.x</code>.</p>
  
  <p>I don't wanna install Qt 5.8 because then my app won't be compatible with older linuxes. I need to use 5.7.</p>
  
  <p>How should I make this work?</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>After trying on my machine and losing track of what I had installed I created a docker container to test it:</p>
  
  <pre><code>FROM ubuntu:latest
  
  ARG SIP_LINK=https://sourceforge.net/projects/pyqt/files/sip/sip-4.19.7/sip-4.19.7.tar.gz
  
  ARG PYQT5_LINK=https://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-5.10/PyQt5_gpl-5.10.tar.gz
  
  RUN apt-get update \
      &amp;&amp; apt-get install -y build-essential make wget ca-certificates \
      python3 python3-dev \
      qt5-default qml-module-qtquick-controls libqt5qml5 \
      --no-install-recommends \
      &amp;&amp; rm -rf /var/lib/apt/lists/*
  
  #SIP INSTALLAITON
  
  RUN wget --progress=bar:force -O sip.tar.gz $SIP_LINK \
      &amp;&amp; mkdir sip \
      &amp;&amp; tar -xzvf sip.tar.gz -C sip --strip-components=1 \
      &amp;&amp; rm sip.tar.gz \
      &amp;&amp; cd sip \
      &amp;&amp; python3 configure.py &amp;&amp; make &amp;&amp; make install \
      &amp;&amp; cd .. \
      &amp;&amp; rm -rf sip
  
  #PYQT5 INSTALLAITON
  
  RUN wget --progress=bar:force -O pyqt5.tar.gz $PYQT5_LINK \
      &amp;&amp; mkdir pyqt5 \
      &amp;&amp; tar -xzvf pyqt5.tar.gz -C pyqt5 --strip-components=1 \
      &amp;&amp; rm pyqt5.tar.gz \
      &amp;&amp; cd pyqt5 \
      &amp;&amp; python3 configure.py --confirm-license &amp;&amp; make &amp;&amp; make install \
      &amp;&amp; cd .. \
      &amp;&amp; rm -rf pyqt5
  
  WORKDIR /home/project
  
  ENTRYPOINT "/bin/bash"
  </code></pre>
  
  <p>When I do </p>
  
  <pre><code>docker run --rm -it -v /tmp/.X11-unix:/tmp/.X11-unix -v /home/lz/project:/home/project -e DISPLAY=unix$DISPLAY test
  </code></pre>
  
  <p>and do <code>./main.py</code> (I'm following main.py from <a href="https://github.com/eyllanesc/stackoverflow/tree/586e25c95bc5014874c58389c12947bf77037afc/PyQt%20Material%20Qml" rel="nofollow noreferrer">here</a>, I get:</p>
  
  <pre><code>root@3054a751f04b:/home/prject# ./main.py 
  Traceback (most recent call last):
    File "./main.py", line 4, in &lt;module&gt;
      from PyQt5.QtQml import *
  ImportError: No module named 'PyQt5.QtQml'
  </code></pre>
  
  <p>The packages <code>qml-module-qtquick-controls libqt5qml5</code> were added just to try make it work but it didn't help</p>
  
  <p><strong>UPDATE 2:</strong>
  After adding the package <code>python3-pyqt5.qtquick</code>, I now get only the error:</p>
  
  <pre><code>QQmlApplicationEngine failed to load component
  file:///home/project/main.qml:4 module "QtQuick.Controls.Material" is not installed
  
  process 12: D-Bus library appears to be incorrectly set up; failed to read machine uuid: UUID file '/etc/machine-id' should contain a hex string of length 32, not length 0, with no other text
  See the manual page for dbus-uuidgen to correct this issue.
  </code></pre>
  
  <p><strong>However, I shouldn't have to add python3 qt packages because I'm building them</strong></p>