Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-109747

Qt5Compat.GraphicalEffects is broken for static builds

    XMLWordPrintable

Details

    • 52d5bc699 (dev), 219bad29f (6.5)

    Description

      Using

      import QtQuick
      import Qt5Compat.GraphicalEffects
      
      Window {
          width: 640
          height: 480
          visible: true
          title: qsTr("Hello World")
      
          Text {
              id: butterfly
              anchors.centerIn: parent
              text: "I've shadows"
              smooth: true
              visible: false
          }
      
          DropShadow {
              anchors.fill: butterfly
              horizontalOffset: 3
              verticalOffset: 3
              radius: 8.0
              color: "#80000000"
              source: butterfly
          }
      }
      

      runs into

      QQmlApplicationEngine failed to load component qtloader.js:387:25
      qrc:/foo/main.qml:18:5: Type DropShadow unavailable qtloader.js:387:25
      qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/DropShadow.qml:6:1: static plugin for module "Qt5Compat.GraphicalEffects.private" with name "QtGraphicalEffectsPrivatePlugin" cannot be loaded: module "Qt5Compat.GraphicalEffects.private" is not installed

      for static Qt builds.

      Attachments

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

        Activity

          People

            ulherman Ulf Hermann
            cajus Cajus Pollmeier
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes