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

QML:error(Error: Cannot assign undefined to QString)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Duplicate
    • Affects Version/s: 6.2.4
    • Fix Version/s: None
    • Component/s: Build tools: qmake
    • Labels:
      None
    • Environment:
      QtCreator 6.2 vs2019
    • Platform/s:
      Windows

      Description

      model.name Tips:Error: Cannot assign [undefined] to QString 

      model is ModelList and model already init but mode of name not!

      qt Tips:Error: Cannot assign [undefined] to QString

       use code:

      treeModel.dropName = model.name(where erro)

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              qtbuildsystem Qt Build System Team
              Reporter:
              dsd dsd
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes