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

Putting function as a handler for a signal does not work with QtQuick Compiler

    XMLWordPrintable

Details

    Description

      For example, try running this in Release mode (or explicitly enable CONFIG+=qtquickcompiler):

      MouseArea {
       anchors.fill: parent
       onClicked: function() { console.log("hello world"); }
      }
      

      To reproduce, run attached application in Release mode and try clicking on it.

      Attachments

        1. diff.jpg
          diff.jpg
          1.78 MB
        2. qtbug57043.tar.gz
          0.8 kB
        For Gerrit Dashboard: QTBUG-57043
        # Subject Branch Project Status CR V

        Activity

          People

            erikv Erik Verbruggen
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes