Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QtQuick - QtGraphicalEffects issue
Forum Updated to NodeBB v4.3 + New Features

QtQuick - QtGraphicalEffects issue

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
6 Posts 3 Posters 2.3k 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.
  • python74P Offline
    python74P Offline
    python74
    wrote on last edited by
    #1

    Hi
    Strange thing - cannot import QtGraphicalEffects. in directory ...qt/qml/QtGraphicalEffects/ missing plugins.qmltypes file. How to repair that?
    Regards
    Rafal

    1 Reply Last reply
    0
    • D Offline
      D Offline
      Darkmalex
      wrote on last edited by
      #2

      Hello,
      Just a sanity check... are you sure you have QtGraphicalEffects installed? If yes, then try running ./qmlplugindump , although I highly doubt it will help the case.

      1 Reply Last reply
      0
      • timdayT Offline
        timdayT Offline
        timday
        wrote on last edited by timday
        #3

        Are you building for a static platform (iOS in particular)? I've run into a similar issue there with 5.7 & 5.8, but only got around to prodding it a bit now (spent a lot of time thinking it was a problem with my own plugins... but it seems to be the QtGraphicalEffects which is the fundamental problem). See https://bugreports.qt.io/browse/QTBUG-57205 .

        1 Reply Last reply
        0
        • python74P Offline
          python74P Offline
          python74
          wrote on last edited by
          #4

          I've builded Qt 5.9.1 from source targeting Linux A20 Allwinner Olinuxino Micro. Everything works fine, but only QtGraphicalEffects lack of plugins.qmltypes file. But i have so libraries. Rest of qml plugins are OK. Probably You're right - I've foud this bug reported in Qt5.4 and 5.5 too

          1 Reply Last reply
          0
          • python74P Offline
            python74P Offline
            python74
            wrote on last edited by
            #5

            More details. After compiling i have directory .../qt/qml/QtGraphicalEffects/. Inside this directory are stored qml files and also libqtgraphicaleffectsplugin.so. I guess all i need is plugins.qmltypes. So my question is why during compiling process plugins.qmltypes was'nt created?

            timdayT 1 Reply Last reply
            0
            • python74P python74

              More details. After compiling i have directory .../qt/qml/QtGraphicalEffects/. Inside this directory are stored qml files and also libqtgraphicaleffectsplugin.so. I guess all i need is plugins.qmltypes. So my question is why during compiling process plugins.qmltypes was'nt created?

              timdayT Offline
              timdayT Offline
              timday
              wrote on last edited by timday
              #6

              @python74 Is qmltypes actually that important? The plugin docs at http://doc.qt.io/qt-5/qtqml-modules-qmldir.html say (my bold):

              QML modules may refer to one or more type information files in their qmldir file. These usually have the .qmltypes extension and are read by external tools to gain information about types defined in plugins.

              As such qmltypes files have no effect on the functionality of a QML module. Their only use is to allow tools such as Qt Creator to provide code completion, error checking and other functionality to users of your module.

              So it sounds to me like the lack of a qmltypes might be an obstacle to doing QtCreator UI designs using QtGraphicalEffects (assuming that's the sort of thing it's supposed to facilitate) but not to simply using the plugin functionality in a Qt app.

              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