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

      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.

        1. diff.jpg
          diff.jpg
          1.78 MB
        2. qtbug57043.tar.gz
          0.8 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes