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

if subclassing QScriptable and object has Q_PROPERTY WRITE function, it not work.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.6.1
    • 3.x, 4.6.0
    • Qt Script
    • None
    • e715a7f4cfad454b9c966fa2938cbe9a92ce49fb, d14ac9914753220e54f3b5cd94d122325d499776

    Description

      Default Prototypes Example
      change code.js

      code.js
      .....
      listWidget.currentItemChanged.connect(
          function(item)
          {
              listWidget.setBackgroundColor(item.text);
              item.text = "Black"; //! DONT WORK.
          }
      ....
      
      

      Attachments

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

        Activity

          People

            goffart Olivier Goffart (closed Nokia identity) (Inactive)
            axax Ax
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes