Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Qt5Compat missing module
Forum Updated to NodeBB v4.3 + New Features

Qt5Compat missing module

Scheduled Pinned Locked Moved Solved QML and Qt Quick
3 Posts 2 Posters 1.7k Views 2 Watching
  • 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.
  • mzimmersM Offline
    mzimmersM Offline
    mzimmers
    wrote on last edited by
    #1

    Hi all -

    I'm trying to build a project (originally built with Qt5) in 6.4. I've installed the QT 5 Compatibility Module, but the use of one of its files is giving me this error:

    qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/OpacityMask.qml:5:1: Cannot load library
    C:\Qt\6.4.0\mingw_64\qml\Qt5Compat\GraphicalEffects\private\qtgraphicaleffectsprivateplugin.dll: The specified module could not be found.
    

    That .dll is indeed there.

    I've also added this line to my project file:

    QT += core5compat
    

    Any idea what else I need to do? Thanks...

    JKSHJ 1 Reply Last reply
    0
    • mzimmersM mzimmers

      Hi all -

      I'm trying to build a project (originally built with Qt5) in 6.4. I've installed the QT 5 Compatibility Module, but the use of one of its files is giving me this error:

      qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/OpacityMask.qml:5:1: Cannot load library
      C:\Qt\6.4.0\mingw_64\qml\Qt5Compat\GraphicalEffects\private\qtgraphicaleffectsprivateplugin.dll: The specified module could not be found.
      

      That .dll is indeed there.

      I've also added this line to my project file:

      QT += core5compat
      

      Any idea what else I need to do? Thanks...

      JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      @mzimmers said in Qt5Compat missing module:

      C:\Qt\6.4.0\mingw_64\qml\Qt5Compat\GraphicalEffects\private\qtgraphicaleffectsprivateplugin.dll: The specified module could not be found.
      

      That .dll is indeed there.

      The message could also mean that the DLL was found but failed to load for some reason. Check if any dependencies are missing: https://github.com/lucasg/Dependencies

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      mzimmersM 1 Reply Last reply
      4
      • JKSHJ JKSH

        @mzimmers said in Qt5Compat missing module:

        C:\Qt\6.4.0\mingw_64\qml\Qt5Compat\GraphicalEffects\private\qtgraphicaleffectsprivateplugin.dll: The specified module could not be found.
        

        That .dll is indeed there.

        The message could also mean that the DLL was found but failed to load for some reason. Check if any dependencies are missing: https://github.com/lucasg/Dependencies

        mzimmersM Offline
        mzimmersM Offline
        mzimmers
        wrote on last edited by
        #3

        @JKSH using Dependencies, I found this:
        shader.PNG
        It turns out that in Qt 6, the Shader tools are a separate component that must be explicitly checked during installation. I guess I'm still getting used to the more "modular" approach to Qt 6.

        Thanks for the help.

        1 Reply Last reply
        3

        • Login

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