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

QML rect property as a parameter causing a crash

    XMLWordPrintable

Details

    • a2104034d (dev), 40a9b0a54 (6.6), 7f2a20341 (6.5), 8e3b18734 (6.5.2)

    Description

      I built QQEM with dev and noticed it was not starting. With some testing, noticed a strange cause for this: Calling a C++ method with QML rect property as a parameter. Commenting out line 17 of qtquickeffectmaker/tools/qqem/qml/ProjectSettingsDialog.qml makes it work:

      //effectManager.setEffectPadding(newItemPadding);

      Also changing it to this works:

      effectManager.setEffectPadding(Qt.rect(0,1,2,3));

      That newItemPadding is "property rect newItemPadding". 

      Attachments

        For Gerrit Dashboard: QTBUG-114494
        # Subject Branch Project Status CR V

        Activity

          People

            ulherman Ulf Hermann
            kagro Kaj Grönholm
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes