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

JavaScript function definitions cannot be changed at runtime

    XMLWordPrintable

Details

    Description

      If you define a function in QML, it would be important for the Qt Creator / QML debugging integration to be able to redefine the function contents during runtime. So if you have

      function foo() {
      console.log("blah");
      }
      

      it should be possible to rewrite this to

      function foo() {
      console.log("foo"); // or anything else
      }
      

      It's not so important to change the function signature, but if that comes for free, that would be a great addition as well.

      It's not important to have this functionality publicly available in QML - it would be enough to have it as an internal function.

      Attachments

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

        Activity

          People

            aakenned Aaron Kennedy
            holmsted Lasse Holmstedt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes