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

Regression: qtscxml doesn't compile, lacking asArrayIndex() and makeIdentifier() methods

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P0: Blocker
    • None
    • 5.12
    • XML: SCXML
    • None

    Description

      /home/jarek/dev/qt-dev/qtscxml/src/scxml/qscxmlecmascriptdatamodel.cpp: In static member function ‘static void QScxmlEcmaScriptDataModelPrivate::setReadonlyProperty(QJSValue*, const QString&, const QJSValue&)’:
      /home/jarek/dev/qt-dev/qtscxml/src/scxml/qscxmlecmascriptdatamodel.cpp:286:23: error: ‘struct QV4::String’ has no member named ‘asArrayIndex’; did you mean ‘toArrayIndex’?
               uint idx = s->asArrayIndex();
                             ^~~~~~~~~~~~
                             toArrayIndex
      /home/jarek/dev/qt-dev/qtscxml/src/scxml/qscxmlecmascriptdatamodel.cpp:292:12: error: ‘struct QV4::String’ has no member named ‘makeIdentifier’
               s->makeIdentifier();
                  ^~~~~~~~~~~~~~
      /home/jarek/dev/qt-dev/qtscxml/src/scxml/qscxmlecmascriptdatamodel.cpp: In static member function ‘static QScxmlEcmaScriptDataModelPrivate::SetPropertyResult QScxmlEcmaScriptDataModelPrivate::setProperty(QJSValue*, const QString&, const QJSValue&)’:
      /home/jarek/dev/qt-dev/qtscxml/src/scxml/qscxmlecmascriptdatamodel.cpp:320:23: error: ‘struct QV4::String’ has no member named ‘asArrayIndex’; did you mean ‘toArrayIndex’?
               uint idx = s->asArrayIndex();
                             ^~~~~~~~~~~~
                             toArrayIndex
      

      Caused by 32c33ee9abec1ef2f05233c3a613689431f6654b and by 56bff8f7abc2f0eeadd4d197667132af6eed6f3a

      Attachments

        Issue Links

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

          Activity

            People

              shausman Simon Hausmann
              jkobus Jarek Kobus
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes