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

Crash during invocation of dynamic slot

    XMLWordPrintable

Details

    Description

      If a dynamic slot fails to compile, attempting to invoke it from C++ via QMetaObject::invokeMethod() may result in a crash. Related to QTBUG-23387.

      import QtQuick 2.0
      
      Item {
          id: root
      
          function dynamicSlot() {
              var someString = "Hello,
              this is a
              multiline string";
          }
      }
      

      Attachments

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

        Activity

          People

            chriadam Christopher Adams (closed Nokia identity) (Inactive)
            chriadam Christopher Adams (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes