Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-949

PySide doesn't find QML plugin by default

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: P4: Low P4: Low
    • None
    • 5.12.1
    • PySide
    • None
    • Manjaro Linux
      PySide2 installed via pip
      Qt 5.12.1
      Python 3.7.2

    • Linux/X11

      I'm trying to use Kirigami (https://kde.org/products/kirigami/) in my PySide project. In my QML file im using

      import org.kde.kirigami 2.0 as Kirigami

      When starting the app (python main.py) I get

      qml/main.qml:3 module "org.kde.kirigami" is not installed

      Running 'QML2_IMPORT_PATH=/usr/lib/qt/qml python main.py' works fine

      Running a C++/QML app with Kirigami works fine without the additional env variable.

      PySide is installed via pip. When installing it from the Manjaro packages it works fine without the env variable.

      Kirigami is installed from the Manjaro packages.

       

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            crmaurei Cristian Maureira-Fredes
            nicolasfella Nicolas Fella
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes