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

QML Treeview generate warning from Javascript in QtCreator console

    XMLWordPrintable

Details

    • Windows
    • 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

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

        Activity

          People

            andysh Andy Shaw
            mani ROUAULT GUY
            Votes:
            24 Vote for this issue
            Watchers:
            22 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes