title: Use Qt Design Studio QML with PySide2
body: <p>I am new to Qt Designer Studio. I just created a simple button in Qt Design Studio and I am trying to use the QML file with PySide2 but I am getting multiple import errors. Is there a specific way to implement Qt Design Studio qml files with PySide2.</p>
  
  <p>The project name is Demo that I created in Qt Design Studio</p>
  
  <p>The Demo Project structure:</p>
  
  <pre><code>   Demo.qml
     Demo.qmlproject
     Demo.qmlproject.qtds
     imports
     qtquickcontrols2.conf
     Screen01.ui.qml
  </code></pre>
  
  <p>The PySide2 project structure (main.py files includes the code):</p>
  
  <pre><code>   Demo.qml
     Demo.qmlproject
     Demo.qmlproject.qtds
     imports
     qtquickcontrols2.conf
     Screen01.ui.qml
     main.py
  </code></pre>
  
  <p>main.py:</p>
  
  <pre><code>from PySide2.QtWidgets import QApplication, QMainWindow
  from PySide2.QtQuick import QQuickView
  from PySide2.QtCore import QUrl
  from imports import QtQuick
  app = QApplication([])
  view = QQuickView()
  url = QUrl("Screen01.ui.qml")
  view.engine().addImportPath("imports")
  view.setSource(url)
  view.show()
  app.exec_()
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>module "QtStudio3D" is not installed 
  module "Qt.SafeRenderer" is not installed 
  </code></pre>
  
  <p>Screen01.ui.qml</p>
  
  <pre><code>import QtQuick 2.12
  import Demo 1.0
  import QtQuick.Controls 2.3
  
  Rectangle {
      width: Constants.width
      height: Constants.height
  
      color: Constants.backgroundColor
  
      Button {
          id: nameButton
          x: 136
          y: 227
          text: qsTr("Button")
      }
  }
  </code></pre>