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

qt.qml.import: addImportPath: "/usr/bin"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.2.1
    • PySide
    • None
    • Fedora 35, Ubuntu 21.10, Windows 10
    • Linux/Wayland, Windows

      Hello,

      I use PySide6 for a private project. Everything was working fine with Qt 6.1.0. After upgrading to 6.2.1, I get an error when calling QQmlApplicationEngine.load:

      qt.qml.import: addImportPath: "/home/elias/PycharmProjects/mpvqc-qt6/venv/lib64/python3.10/site-packages/PySide6/Qt/qml"
      qt.qml.import: addImportPath: "qrc:/qt-project.org/imports"
      qt.qml.import: addImportPath: "/usr/bin"
      QQmlApplicationEngine failed to load component
      file:///home/elias/PycharmProjects/mpvqc-qt6/: file to open is a directory

      I installed PySide6 into a virtual environment. Also tested on multiple platforms. On Windows I obviously get a different path but the same error.

       
      If you need information or logs please tell me.

      Best regards
       

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

            crmaurei Cristian Maureira-Fredes
            trin94 Elias Müller
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes