title: PyQt5: module "QtCharts" is not installed
body: <p>I'm trying to use QtCharts from QML in a PyQt5 app.</p>
  <p>Qt5 is installed via HomeBrew, and the QtCharts module appears to be installed (unless when called via PyQt5 it looks somewhere else):</p>
  <pre><code>$ ls -1 /usr/local/opt/qt5/qml/QtCharts
  designer
  libqtchartsqml2.dylib
  plugins.qmltypes
  qmldir
  </code></pre>
  <p>In PyQt5, I can run a QtQuick app without problems, but if I try to <code>import QtCharts 2.2</code> I get an error:</p>
  <blockquote>
  <p>module &quot;QtCharts&quot; is not installed</p>
  </blockquote>
  <p>Minimal testcase that exhibits this problem:</p>
  <p><em>test_qml_qtcharts.py</em></p>
  <pre><code>import sys
  from PyQt5.QtCore import QCoreApplication, QUrl
  from PyQt5.QtQml import QQmlComponent, QQmlEngine
  
  app = QCoreApplication(sys.argv)
  engine = QQmlEngine()
  component = QQmlComponent(engine)
  component.setData(b'''
  import QtQuick 2.9
  import QtCharts 2.2
  Item {}
  ''', QUrl('main.qml'))
  instance = component.create()
  
  if not instance:
      for error in component.errors():
          print(error.toString())
  </code></pre>
  <p>Output:</p>
  <pre><code>$ python3 test_qml_qtcharts.py
  QQmlComponent: Component is not ready
  main.qml:3:1: module &quot;QtCharts&quot; is not installed
  </code></pre>
  <p>Removing <code>import QtCharts 2.2</code> the test runs fine.</p>