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

[REG 5.11->5.12.0]: Using Qt.include() does not work correctly as it will give a reference error when trying to access a variable defined in it

XMLWordPrintable

      Using Qt.include() does not work correctly as it will give a reference error when trying to access a variable defined in it. In the attached example, when clicking on the rectangle it will give:

      qrc:/bar.js:4: ReferenceError: testInteger is not defined
      

      Instead of "42".

        For Gerrit Dashboard: QTBUG-74068
        # Subject Branch Project Status CR V

            ulherman Ulf Hermann
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes