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

C++-compiled QML crashes on most type lookups

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 6.3.0 Beta3
    • Fix Version/s: 6.2.5, 6.2, 6.3.0 RC, 6.3.1, 6.3
    • Component/s: QML: Compiler
    • Labels:
      None
    • Commits:
      4f4d16986c (qt/tqtc-qmlcompilerplus/6.2) 56c4298cdc (qt/qtdeclarative/6.3) 8a70e8df00 (qt/qtdeclarative/6.3.0) 56c4298cdc (qt/tqtc-qtdeclarative/6.3) 8a70e8df00 (qt/tqtc-qtdeclarative/6.3.0)

      Description

      Things like "foo as Test.Window" with "Test" being a type namespace lead to a bad code path in qqml.cpp and cause a crash at run time. Furthermore, we do not always generate code for type lookups, which can lead to an assert at compile time.

        Attachments

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

          Activity

            People

            Assignee:
            ulherman Ulf Hermann
            Reporter:
            ulherman Ulf Hermann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes