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

error: no member named 'index' in 'QQmlPrivate::AOTCompiledFunction'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P0: Blocker
    • 6.4.0 Beta1
    • 6.4.0 FF
    • QML: Compiler
    • None
    • 37a7e4e56b (qt/tqtc-qmlcompilerplus/dev) 37a7e4e56b (qt/tqtc-qmlcompilerplus/6.4) 37a7e4e56b (qt/tqtc-qmlcompilerplus/6.4.0) 37a7e4e56b (qt/tqtc-qmlcompilerplus/6.4.1)

    Description

      /Users/qt/work/qt/tqtc-qmlcompilerplus/tests/auto/codegen/tst_codegen.cpp:730:14: warning: 'QQmlListReference' is deprecated: Drop the QQmlEngine* argument [-Wdeprecated-declarations]
      agent:2022/04/19 14:09:54 build.go:394:     QCOMPARE(QQmlListReference(object.data(), "children", &engine).count(), 11);
      agent:2022/04/19 14:09:54 build.go:394:              ^
      agent:2022/04/19 14:09:54 build.go:394: /Users/qt/work/install/lib/QtQml.framework/Headers/qqmllist.h:206:5: note: 'QQmlListReference' has been explicitly marked deprecated here
      agent:2022/04/19 14:09:54 build.go:394:     QT_DEPRECATED_X("Drop the QQmlEngine* argument")
      agent:2022/04/19 14:09:54 build.go:394:     ^
      agent:2022/04/19 14:09:54 build.go:394: /Users/qt/work/install/lib/QtCore.framework/Headers/qglobal.h:281:33: note: expanded from macro 'QT_DEPRECATED_X'
      agent:2022/04/19 14:09:54 build.go:394: #  define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
      agent:2022/04/19 14:09:54 build.go:394:                                 ^
      agent:2022/04/19 14:09:54 build.go:394: /Users/qt/work/install/lib/QtCore.framework/Headers/qcompilerdetection.h:1116:36: note: expanded from macro 'Q_DECL_DEPRECATED_X'
      agent:2022/04/19 14:09:54 build.go:394: #  define Q_DECL_DEPRECATED_X(x) [[deprecated(x)]]
      agent:2022/04/19 14:09:54 build.go:394:                                    ^
      agent:2022/04/19 14:09:54 build.go:394: /Users/qt/work/qt/tqtc-qmlcompilerplus/tests/auto/codegen/tst_codegen.cpp:730:14: warning: 'QQmlListReference' is deprecated: Drop the QQmlEngine* argument [-Wdeprecated-declarations]
      agent:2022/04/19 14:09:54 build.go:394:     QCOMPARE(QQmlListReference(object.data(), "children", &engine).count(), 11);
      agent:2022/04/19 14:09:54 build.go:394:              ^
      agent:2022/04/19 14:09:54 build.go:394: /Users/qt/work/install/lib/QtQml.framework/Headers/qqmllist.h:206:5: note: 'QQmlListReference' has been explicitly marked deprecated here
      agent:2022/04/19 14:09:54 build.go:394:     QT_DEPRECATED_X("Drop the QQmlEngine* argument")
      agent:2022/04/19 14:09:54 build.go:394:     ^
      agent:2022/04/19 14:09:54 build.go:394: /Users/qt/work/install/lib/QtCore.framework/Headers/qglobal.h:281:33: note: expanded from macro 'QT_DEPRECATED_X'
      agent:2022/04/19 14:09:54 build.go:394: #  define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
      agent:2022/04/19 14:09:54 build.go:394:                                 ^
      agent:2022/04/19 14:09:54 build.go:394: /Users/qt/work/install/lib/QtCore.framework/Headers/qcompilerdetection.h:1116:36: note: expanded from macro 'Q_DECL_DEPRECATED_X'
      agent:2022/04/19 14:09:54 build.go:394: #  define Q_DECL_DEPRECATED_X(x) [[deprecated(x)]]
      agent:2022/04/19 14:09:54 build.go:394:                                    ^
      agent:2022/04/19 14:09:54 build.go:394: /Users/qt/work/qt/tqtc-qmlcompilerplus/tests/auto/codegen/tst_codegen.cpp:764:25: error: no member named 'index' in 'QQmlPrivate::AOTCompiledFunction'
      agent:2022/04/19 14:09:54 build.go:394:     QCOMPARE(aotFailure.index, 0);
      agent:2022/04/19 14:09:54 build.go:394:              ~~~~~~~~~~ ^
      agent:2022/04/19 14:09:54 build.go:394: /Users/qt/work/install/lib/QtTest.framework/Headers/qtestcase.h:89:26: note: expanded from macro 'QCOMPARE'
      agent:2022/04/19 14:09:54 build.go:394:     if (!QTest::qCompare(actual, expected, #actual, #expected, __FILE__, __LINE__))\
      agent:2022/04/19 14:09:54 build.go:394:                          ^~~~~~
      agent:2022/04/19 14:09:54 build.go:394: 2 warnings and 1 error generated.
      

      Build log: http://ci-files01-hki.intra.qt.io/cilogs/qt/tqtc-qmlcompilerplus/6913d73ffcdd8c181799cb9c13d5a053a3743097/MacOSMacOS_12arm64MacOSMacOS_12arm64Clangqtci-macos-12-arm64WarningsAreErrors/226fc4126b032e5558d8e0d3fb3b6ab9d4499ec6/build_1650378491/log.txt.gz

      Details: http://ci-files01-hki.intra.qt.io:8080/coin/integration/qt/tqtc-qmlcompilerplus/tasks/1650378410

      Tested changes (refs/builds/qtci/dev/1650377337):

      https://codereview.qt-project.org/c/qt/tqtc-qmlcompilerplus/+/406488/2 Update dependencies on 'dev' in qt/tqtc-qmlcompilerplus

      Attachments

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

        Activity

          People

            fabiankosmale Fabian Kosmale
            janihe Jani Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes