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

PySide doesn't find QML plugin by default

    XMLWordPrintable

Details

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

    • Linux/X11

    Description

      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.

       

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes