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

Invalid style override breaks Qt Quick Control applications (incl. crash)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1: Critical P1: Critical
    • 6.5.1
    • 6.2.3, 6.5.0
    • Quick: Controls 2
    • None
    • Manjaro
      Ubuntu 20.04, 22.04
    • a2dccbafc (dev), 4a1e88314 (6.5)

      1. Start Creator with the invalid style override 'kvantum':
        QT_STYLE_OVERRIDE=kvantum ./qtcreator-6.0.2/bin/qtcreator -tcs
        

        On the command line, you can read:

        QApplication: invalid style override 'kvantum' passed, ignoring it.
        	Available styles: Windows, Fusion
        
      2. Open the QML-Profiler in Debug mode.
        There's just a white rectangle where the timeline should be.
      3. Go to the "Flame Graph" tab.
        There's just a white rectangle where the flame graph should be.
      4. Right-click into that rectangle.
        Creator crashes.

      Two things seems to be wrong there:

      1. Obviously, Creator should not crash.
      2. When that style override is being ignored as Creator claims, passing it should not make a difference. Since it does make a difference, it seems to not be ignored properly.

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

            kagro Kaj Grönholm
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes