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

Error: idProperty.qml:42:30: Could not compile binding for family: Cannot access value for name root font.family: root.fontName

XMLWordPrintable

    • 9ad0707f08 (qt/tqtc-qmlcompilerplus/dev)

      qmlcompilerplus/tests/auto/benchmark/idProperty.qml
      agent:2022/09/02 01:30:15 build.go:394: Warning: idProperty.qml:42:30: Unqualified access [unqualified]
      agent:2022/09/02 01:30:15 build.go:394:                 font.family: root.fontName
      agent:2022/09/02 01:30:15 build.go:394:                              ^^^^
      agent:2022/09/02 01:30:15 build.go:394: Info: Did you mean "font"?
      agent:2022/09/02 01:30:15 build.go:394:                 font.family: font.fontName
      agent:2022/09/02 01:30:15 build.go:394:                              ^^^^
      agent:2022/09/02 01:30:15 build.go:394: Error: idProperty.qml:42:30: Could not compile binding for family: Cannot access value for name root [compiler]
      agent:2022/09/02 01:30:15 build.go:394:                 font.family: root.fontName
      agent:2022/09/02 01:30:15 build.go:394:                              ^^^^
      agent:2022/09/02 01:30:15 build.go:394: [471/1282] cd /Users/qt/work/qt/tqtc-qmlcompilerplus_standalone_tests/tests/auto/benchmark && /Applications/CMake.app/Contents/bin/cmake -E make_directory /Users/qt/work/qt/tqtc-qmlcompilerplus_standalone_tests/tests/auto/benchmark/.rcc/qmlcache && /Users/qt/work/install/./libexec/qmlsc --resource-path /TestTypes/methods.qml -I /Users/qt/work/qt/tqtc-qmlcompilerplus_standalone_tests/./qml -I /Users/qt/work/qt/tqtc-qmlcompilerplus/tests/auto/benchmark/imports/ -I /Users/qt/work/qt/tqtc-qmlcompilerplus_standalone_tests/tests/auto/benchmark -i /Users/qt/work/qt/tqtc-qmlcompilerplus_standalone_tests/tests/auto/benchmark/direct/TestTypes/qmldir --direct-calls --static --resource /Users/qt/work/qt/tqtc-qmlcompilerplus_standalone_tests/tests/auto/benchmark/.rcc/qmake_TestTypes.qrc --resource /Users/qt/work/qt/tqtc-qmlcompilerplus_standalone_tests/tests/auto/benchmark/.rcc/benchmark_direct_raw_qml_0.qrc -o /Users/qt/work/qt/tqtc-qmlcompilerplus_standalone_tests/tests/auto/benchmark/.rcc/qmlcache/benchmark_direct_methods_qml.cpp /Users/qt/work/qt/tqtc-qmlcompilerplus/tests/auto/benchmark/methods.qml
      agent:2022/09/02 01:30:15 build.go:394: Error: methods.qml:37:27: Could not compile binding for dresses: Cannot generate efficient code for storing an array in a non-sequence type [compiler]
      agent:2022/09/02 01:30:15 build.go:394:     property var dresses: [0, 0, 0, 0]
      agent:2022/09/02 01:30:15 build.go:394:                           ^
      agent:2022/09/02 01:30:15 build.go:394: Error: methods.qml:62:15: Could not compile function storeElement: Cannot generate efficient code for storing an array in a non-sequence type [compiler]
      agent:2022/09/02 01:30:15 build.go:394:         party.dresses[2] = [1, 2, 3]
      agent:2022/09/02 01:30:15 build.go:394:               ^^^^^^^
      agent:2022/09/02 01:30:15 build.go:394: Error: methods.qml:65:5: Could not compile function stuff: Functions without type annotations won't be compiled [compiler]
      agent:2022/09/02 01:30:15 build.go:394:     function stuff(sn) {
      agent:2022/09/02 01:30:15 build.go:394:     ^^^^^^^^^
      agent:2022/09/02 01:30:15 build.go:394: Error: methods.qml:72:32: Could not compile function retrieveVar: function without type annotation returns QJSValue of QJSValue [compiler]
      agent:2022/09/02 01:30:15 build.go:394:         return guests[numeric][stringly];
      agent:2022/09/02 01:30:15 build.go:394:                                ^^^^^^^^
      agent:2022/09/02 01:30:15 build.go:394: Error: methods.qml:76:16: Could not compile function retrieveString: Cannot generate efficient code for conversion from Person to QQmlListProperty<QObject> [compiler]
      agent:2022/09/02 01:30:15 build.go:394:         return guests[numeric][stringly];
      agent:2022/09/02 01:30:15 build.go:394:                ^^^^^^
      agent:2022/09/02 01:30:15 build.go:394: Error: methods.qml:86:5: Could not compile function sumUntyped: Functions without type annotations won't be compiled [compiler]
      agent:2022/09/02 01:30:15 build.go:394:     function sumUntyped(n) {
      agent:2022/09/02 01:30:15 build.go:394:     ^^^^^^^^^
      agent:2022/09/02 01:30:15 build.go:394: Error: methods.qml:93:22: Could not compile binding for n1: Cannot generate efficient code for call to untyped JavaScript function [compiler]
      agent:2022/09/02 01:30:15 build.go:394:     property var n1: stuff("onGurk")
      agent:2022/09/02 01:30:15 build.go:394:                      ^^^^^
      agent:2022/09/02 01:30:15 build.go:394: Error: methods.qml:94:22: Could not compile binding for n2: Cannot generate efficient code for call to untyped JavaScript function [compiler]
      agent:2022/09/02 01:30:15 build.go:394:     property var n2: stuff("semmeln")
      agent:2022/09/02 01:30:15 build.go:394:                      ^^^^^
      agent:2022/09/02 01:30:15 build.go:394: Error: methods.qml:95:22: Could not compile binding for n3: Cannot generate efficient code for call to untyped JavaScript function [compiler]
      agent:2022/09/02 01:30:15 build.go:394:     property var n3: stuff("12")
      agent:2022/09/02 01:30:15 build.go:394:                      ^^^^^
      agent:2022/09/02 01:30:15 build.go:394: Error: methods.qml:47:13: Could not compile binding for onCompleted: Cannot generate efficient code for call to property 'invite' of QJSValue of (component in /Users/qt/work/qt/tqtc-qmlcompilerplus_standalone_tests/tests/auto/benchmark/methods.qml)::foo with type QVariant [compiler]
      agent:2022/09/02 01:30:15 build.go:394:         foo.invite("The Foo")
      agent:2022/09/02 01:30:15 build.go:394:             ^^^^^^
      agent:2022/09/02 01:30:15 build.go:394: [472/1282] cd /Users/qt/work/qt/tqtc-qmlcompilerplus_standalone_tests/tests/auto/benchmark && /Applications/CMake.app/Contents/bin/cmake -E make_directory /Users/qt/work/qt/tqtc-qmlcompilerplus_standalone_tests/tests/auto/benchmark/.rcc/qmlcache && /Users/qt/work/install/./libexec/qmlsc --resource-path /TestTypes/nonNotifyable.qml -I /Users/qt/work/qt/tqtc-qmlcompilerplus_standalone_tests/./qml -I /Users/qt/work/qt/tqtc-qmlcompilerplus/tests/auto/benchmark/imports/ -I /Users/qt/work/qt/tqtc-qmlcompilerplus_standalone_tests/tests/auto/benchmark -i /Users/qt/work/qt/tqtc-qmlcompilerplus_standalone_tests/tests/auto/benchmark/direct/TestTypes/qmldir --direct-calls --static --resource /Users/qt/work/qt/tqtc-qmlcompilerplus_standalone_tests/tests/auto/benchmark/.rcc/qmake_TestTypes.qrc --resource /Users/qt/work/qt/tqtc-qmlcompilerplus_standalone_tests/tests/auto/benchmark/.rcc/benchmark_direct_raw_qml_0.qrc -o /Users/qt/work/qt/tqtc-qmlcompilerplus_standalone_tests/tests/auto/benchmark/.rcc/qmlcache/benchmark_direct_nonNotifyable_qml.cpp /Users/qt/work/qt/tqtc-qmlcompilerplus/tests/auto/benchmark/nonNotifyable.qml
      agent:2022/09/02 01:30:15 build.go:394: Error: nonNotifyable.qml:11:34: Could not compile binding for onCompleted: Cannot generate efficient code for Construct [compiler]
      agent:2022/09/02 01:30:15 build.go:394:         BirthdayParty.rsvp = new Date(2121, 0, 12);
      

      Build log: http://ci-files01-hki.intra.qt.io/cilogs/qt/tqtc-qmlcompilerplus/a4ba9c2817db47208c66afd895e20a605c9a924c/MacOSMacOS_12arm64MacOSMacOS_12arm64Clangqtci-macos-12-arm64UseConfigure_WarningsAreErrors/0e0c31a8380eb03f20b096543101b40e20d639bb/build_1662082259/log.txt.gz

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

      Tested changes (refs/builds/qtci/dev/1662082163):
      https://codereview.qt-project.org/c/qt/tqtc-qmlcompilerplus/+/430215/2 Update dependencies on 'dev' in qt/tqtc-qmlcompilerplus

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

            ulherman Ulf Hermann
            janihe Jani Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes