Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. QQmlApplicationEngine failed to load component (module "Qt5Compat.GraphicalEffects" is not installed)
Forum Updated to NodeBB v4.3 + New Features

QQmlApplicationEngine failed to load component (module "Qt5Compat.GraphicalEffects" is not installed)

Scheduled Pinned Locked Moved Unsolved Qt for Python
3 Posts 3 Posters 656 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Masik
    wrote on last edited by
    #1

    Hello! I'm using the latest version of Qt (downloaded yesterday - Qt Creator 7.0.0, Qt 6.2.4, PySide6). I created QML project for Python and try to import Qt5Compat.GraphicalEffects. Qt Creator shows an error "module "Qt5Compat.GraphicalEffects" is not installed".
    I checked everything, it's really installed (it's in 2 folders: C:\Qt\Tools\QtCreator\bin\qml\Qt5Compat\GraphicalEffects and in C:\Qt\6.2.4\mingw_64\qml\Qt5Compat\GraphicalEffects)

    How to solve this issue?

    1 Reply Last reply
    0
    • CristianMaureiraC Offline
      CristianMaureiraC Offline
      CristianMaureira
      wrote on last edited by
      #2

      The PySide6 installation is independent of the Qt installation. When you use pip install pyside6 you will get Qt binaries and tools inside your site-packages directory on your virtual environment (or user namespace if you didn't use a virtual environment).

      The PySide6 installation has no Qt5Compat files, because they are based on bindings, and there is none for the qt5compat module. In case you believe some C++ classes should be exposed, or you need new qml files under site-packages/PySide6/Qt/qml it would be better for you to file a bug report: https://wiki.qt.io/Qt_for_Python/Reporting_Bugs

      1 Reply Last reply
      1
      • N Offline
        N Offline
        NYBL
        wrote on last edited by NYBL
        #3

        opened issue here

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved