Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-24426

When declaring a function inside a Connections then Qt Creator will say that declaring a function in a Qt Quick UI is not allowed

    XMLWordPrintable

Details

    • 0e696e19fe42043720031f2421c15d76da192e19

    Description

      When declaring a function inside a Connections then Qt Creator will say that declaring a function in a Qt Quick UI is not allowed. However from Qt 5.15, doing it the old style way is deprecated so doing:

      Connections {
      ...
      function onClicked() { .... }
      }
      

      should be accepted.

      Attachments

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

        Activity

          People

            madwinter Marcus Tillmanns
            andysh Andy Shaw
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes