Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-27598

Qt Creator and Qt Design Studio crashes when editing QML files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 7.0.2
    • Quick / QML Support
    • None
    • Ubuntu 21.10 64 bit, Qt Creator installed from online installer
    • Linux/X11

    Description

      This issue happens both in Qt Creator and Qt Design Studio.

      I can reliably reproduce this issue, so I've run Qt Creator with GDB, backtrace and the file I was editing is attached below.

      When I try to type `rowLayout.spacing` on the end of line 11 and add a value to the property is when Qt Creator crashed. The property being an alias doesn't effect this, ie if I change its type to an int it still crashes.

      Opening the file on its own, not as part of a project still causes a crash.

      I've seen QtC crash in similiar manner in the last few days. I tried to reproduce this issue on a Windows install, but Windows version doesn't seem to be effected.

      Note: libQt6Core.so is actually not called from system root, but from the folder relative to Qt Creator, I just removed the beggining of the path

      Attachments

        1. qt creator bt.txt
          7 kB
        2. test.qml
          4 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtqmlteam Qt Qml Team User
            viktorgino Viktor Gino
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes