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

QStyleFactory names all lowercase

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.10.1
    • None
    • Qt Creator 4.5.1

      Based on Qt 5.10.1 (GCC 7.3.0, 64 bit)

       

      C:\Windows\System32>ver

      Microsoft Windows [Version 10.0.16299.248]

    Description

      So the example that shows how to enumerate the styles using QStyleFactory returns some of the names lowercase and other times it returns the names as a string in camel case, i.e. "WindowsVista". This is not ideal because the strings in this format look horrible in the UI. I can reproduce this with both MSVC and GCC under MSYS2 using the prebuilt installed binaries.

      QStyleFactory::keys() shows me:

      "windowsvista"

      "Windows"

      "Fusion"

       

      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
            RobertBColton Robert B. Colton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes