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

Failure in TestQmllint when merging qtquickcontrols2 into qtdeclarative

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 6.2
    • Quick: Controls 2
    • None

    Description

      FAIL!  : TestQmllint::qmltypes(/QtQuick/Templates/plugins.qmltypes) Compared values are not the same
         Actual   (process.exitCode()): 255
         Expected (0)                 : 0
         Loc: [/home/mitch/dev/qt-6.2/qtdeclarative/tests/auto/qml/qmllint/tst_qmllint.cpp(827)]
      QDEBUG : TestQmllint::qmltypes(/QtQuick/Templates/plugins.qmltypes) Command: "/home/mitch/dev/qt-6.2-debug/qtbase/bin/qmllint" "/home/mitch/dev/qt-6.2-debug/qtbase/qml/QtQuick/Templates/plugins.qmltypes -I /home/mitch/dev/qt-6.2-debug/qtbase/qml -I /home/mitch/dev/qt-6.2/qtdeclarative/tests/auto/qml/qmllint/data --silent"
      QDEBUG : TestQmllint::qmltypes(/QtQuick/Templates/plugins.qmltypes) Exit status: QProcess::NormalExit
      QDEBUG : TestQmllint::qmltypes(/QtQuick/Templates/plugins.qmltypes) Exit code: 255
      QDEBUG : TestQmllint::qmltypes(/QtQuick/Templates/plugins.qmltypes) stderr: ""
      QDEBUG : TestQmllint::qmltypes(/QtQuick/Templates/plugins.qmltypes) stdout: ""
      FAIL!  : TestQmllint::qmltypes(/QtQuick/Templates/plugins.qmltypes) Compared values are not the same
         Actual   (process.exitCode()): 255
         Expected (0)                 : 0
         Loc: [/home/mitch/dev/qt-6.2/qtdeclarative/tests/auto/qml/qmllint/tst_qmllint.cpp(827)]
      QDEBUG : TestQmllint::qmltypes(/QtQuick/Templates/plugins.qmltypes) Command: "/home/mitch/dev/qt-6.2-debug/qtbase/bin/qmllint" "/home/mitch/dev/qt-6.2-debug/qtbase/qml/QtQuick/Templates/plugins.qmltypes -I /home/mitch/dev/qt-6.2-debug/qtbase/qml -I /home/mitch/dev/qt-6.2/qtdeclarative/tests/auto/qml/qmllint/data"
      QDEBUG : TestQmllint::qmltypes(/QtQuick/Templates/plugins.qmltypes) Exit status: QProcess::NormalExit
      QDEBUG : TestQmllint::qmltypes(/QtQuick/Templates/plugins.qmltypes) Exit code: 255
      QDEBUG : TestQmllint::qmltypes(/QtQuick/Templates/plugins.qmltypes) stderr: "Warning: /home/mitch/dev/qt-6.2-debug/qtbase/qml/QtQuick/Templates/plugins.qmltypes:5325:47: Binding assigned to \"type\", but no property \"type\" exists in the current element.\n        Signal { name: \"activeChanged\"; type: \"bool\" }\n                                              ^^^^^^\nWarning: /home/mitch/dev/qt-6.2-debug/qtbase/qml/QtQuick/Templates/plugins.qmltypes:5326:49: Binding assigned to \"type\", but no property \"type\" exists in the current element.\n        Signal { name: \"draggingChanged\"; type: \"bool\" }\n                                                ^^^^^^\n"
      QDEBUG : TestQmllint::qmltypes(/QtQuick/Templates/plugins.qmltypes) stdout: ""
      

      We need to cherry-pick https://codereview.qt-project.org/c/qt/qtdeclarative/+/357466 to 6.2 and/or remove the bool return type from those signals.

      Attachments

        Issue Links

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

          Activity

            People

              mitch_curtis Mitch Curtis
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes