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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-100563
          # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes