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

Prevent users from customising native styles

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: P1: Critical P1: Critical
    • 6.5.0
    • None
    • Quick: Controls 2
    • None
    • e592a2ad3 (dev)

      We have already gotten several bug reports about customisation of native styles not working. We've documented ([1] [2] [3]) that this is not a supported use case, but we need to find a better solution. We need to warn and ideally prevent the user from doing so.

      Warning and preventing it at compile time with qmllint would be ideal, but won't be enough until qmllint is enabled by default in Creator, because currently you have to go out of your way to use it.

      Warning and preventing at runtime is the next best option.

      Various threads where users have run into this issue:

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            mitch_curtis Mitch Curtis
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes