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

Controls, macOS: getting a lot of warnings about styling

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • P1: Critical
    • 6.5.0, 6.6.0
    • 6.5.0 FF
    • Quick: Controls 2
    • None
    • 0cd146b4b (dev), 8783fc3b2 (6.5)

    Description

      With every controls application that you run on macOS, you get a bunch of these warnings:

      "QML TextField: The current style does not support customization of this control (property: "contentItem" item: TextField_QMLTYPE_4(0x600000210fc0, parent=0x0, geometry=0,0 100x0)). Please customize a non-native style (such as Basic, Fusion, Material, etc). For more information, see: https://doc.qt.io/qt-6/qtquickcontrols2-customize.html#customization-reference"

      This will happen for all applications, not only the ones that has customisation. Just a plain application with a single SpinBox will reproduce this:

      import QtQuick
      import QtQuick.Controls
      
      ApplicationWindow {
          width: 400
          height: 400
          title: "QTBUG-98355"
          visible: true
      
          SpinBox {
          }
      }
      
       

      Attachments

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

        Activity

          People

            mitch_curtis Mitch Curtis
            richard Richard Moe Gustavsen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes