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"