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

tst_qmldomitem fails on Android

    XMLWordPrintable

    Details

      Description

      some tst_qmldomitem tests fails because they're not compatible with Android, the test data is expected to be on the host and it's not package into the device with the test.

      1: QWARN  : QQmlJS::Dom::TestDomItem::testLoadDep() : Parsed invalid file :/domdata/domitem/test1.qml:/domdata/domitem/test1.qml:[Dom][QmlFile][Parsing] Error: Expected token `numeric literal' for .currentItem
      1:
      1: QDEBUG : QQmlJS::Dom::TestDomItem::testLoadDep()
      1: QCRITICAL: QQmlJS::Dom::TestDomItem::testLoadDep() [Dom][Universe] Error: Could not detect type of file :/domdata/domitem
      1: QDEBUG : QQmlJS::Dom::TestDomItem::testLoadDep()
      1: QCRITICAL: QQmlJS::Dom::TestDomItem::testLoadDep() [Dom] Error: Unexpected file to load: ':/domdata/domitem'
      1: FAIL!  : QQmlJS::Dom::TestDomItem::testLoadDep() 'comp1' returned FALSE. ()
      1:    Loc: [tests/auto/qmldom/domitem/tst_qmldomitem_autogen/EWIEGA46WW/../../../../../../../../../../qt6/qtdeclarative/tests/auto/qmldom/domitem/tst_qmldomitem.h(457)]
      
      1: QFATAL : QQmlJS::Dom::TestDomItem::testImports() ASSERT failure in QList::at: "index out of range", file /Users/assam/sources/qt6/build/android_x86/qtbase/include/QtCore/../../../../../qt6/qtbase/src/corelib/tools/qlist.h, line 459
      1: FAIL!  : QQmlJS::Dom::TestDomItem::testImports() Received a fatal error.
      1:    Loc: [/Users/assam/sources/qt6/build/android_x86/qtbase/include/QtCore/../../../../../qt6/qtbase/src/corelib/tools/qlist.h(459)]

       

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              qtandroidteam Qt Android Team
              Reporter:
              assam Assam Boudjelthia
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes