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

QML Treeview generate warning from Javascript in QtCreator console

    Details

    • Platform/s:
      Windows
    • Commits:
      84fbb48832e984c7fce1c4091adb0d340974a75f (qt/qtquickcontrols/5.12)

      Description

      When running Qt Quick Controls 1 - File System Browser Example from QtCreator

      The following warning is displayed in the QtCreator console.

      This seems to be related to use of TableViewColumn

       

      "Could not convert argument 2 at"

      "expression for index@file:///D:/TOOLS/Qt/5.12.2/msvc2017_64/qml/QtQuick/Controls/Private/TreeViewItemDelegateLoader.qml:84"

      "expression for onItemAdded@file:///D:/TOOLS/Qt/5.12.2/msvc2017_64/qml/QtQuick/Controls/Private/BasicTableView.qml:617"

      "expression for onCompleted@file:///D:/TOOLS/Qt/5.12.2/msvc2017_64/qml/QtQuick/Controls/Private/BasicTableView.qml:546"

      "Passing incompatible arguments to C++ functions from JavaScript is dangerous and deprecated."

      "This will throw a JavaScript TypeError in future releases of Qt!"

      Model size of -15 is less than 0

      Model size of -17 is less than 0

        Attachments

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

          Activity

            People

            • Assignee:
              andysh Andy Shaw
              Reporter:
              mani ROUAULT GUY
            • Votes:
              24 Vote for this issue
              Watchers:
              20 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes