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

Classes that override parent class properties don't work nicely with QWebchannel

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.6.0 Beta
    • 5.4.2
    • WebChannel
    • None
    • Windows 8.1
    • 81449c0c804735b71ba2f225005482c7c0123dad

    Description

      Build simple program. QDIalog cannot be exported from QWebchannel to javascript.

      Javascript code broke at:

      console.log(TypeError: Attempting to change the setter of an unconfigurable property.) at qrc:///qtwebchannel/qwebchannel.js(380)

      And of course the further execution of the JavaScript program violated.

      Source code sample program attached.

      Attachments

        1. BrokenDialog.zip
          7 kB
          Yaroslav
        2. BrokenDialogWE.zip
          7 kB
          Yaroslav
        For Gerrit Dashboard: QTBUG-46548
        # Subject Branch Project Status CR V

        Activity

          People

            ntg Pierre Rossi
            Yaroslav Yaroslav
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes