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. Import QtGraphicalEffects plugin

Import QtGraphicalEffects plugin

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 830 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.
  • G Offline
    G Offline
    Grunk
    wrote on last edited by
    #1

    Hi,
    I have a qml in which i need to use QtGraphicalEffects but i can't manage in my C++ code to import the plugin.

    I currently have the following plugin imported (mandatory as i use QT 5.7 statically):

    Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin)
    Q_IMPORT_PLUGIN(QtQuick2Plugin)
    Q_IMPORT_PLUGIN(QtQuickControls1Plugin)
    Q_IMPORT_PLUGIN(QtQuickLayoutsPlugin)
    Q_IMPORT_PLUGIN(QtQuick2WindowPlugin)
    

    In my static build of QT 5.7 , there is in \qml\QtGraphicalEffects\ the file qtgraphicaleffectsplugin.lib so the plugin exists but i don't know how to find the correct name to import it.

    I tried the following without success :

    Q_IMPORT_PLUGIN(QtGraphicalEffectsPlugin)
    

    Any idea ? Is there a way to find any plugin name ?

    Thanks

    1 Reply Last reply
    0
    • R Offline
      R Offline
      raffienficiaud
      wrote on last edited by
      #2

      I am using 5.9.1 and this works:

      Q_IMPORT_PLUGIN(QtGraphicalEffectsPlugin)
      Q_IMPORT_PLUGIN(QtGraphicalEffectsPrivatePlugin)
      

      I have to say that I need to look into the symbols of the said libraries in order to know the name to put inside the Q_IMPORT_PLUGIN (say with nm utility).

      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