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

Autotests crashing when importing the native macOS style

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P1: Critical
    • None
    • 6.8.0 Beta3
    • Testing: QuickTest
    • None
    • macOS

    Description

      When running the

      qtdeclarative/tests/auto/quickcontrols/controls/basic/tst_basic (or any of the other styles) and manually setting the style with QQuickStyle::setStyle("macOS"), it will crash just before running the tst_combobox. Looks like the culprit is the native style import lineĀ 

      import QtQuick.NativeStyle as NativeStyle

      If this is removed, the crash is not reproducible.
      Happens when running all the other non-native styles tests. Not reproducible on Windows, with the native Windows style. Crash report attached.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            dorisverria Doris Verria
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes