Base styles included now in Qt 5.5
I'm just a user of a software program that uses QT (Autodesk Maya). For the last four years, starting the application with the QT -style flag "plastique" has nicely changed the basically dark UI in Maya to a lighter styled one (black on light text, rather than light on black text and UI).
But in Maya 2016, they have updated the UI to a "flat" style, and the none of the old QT -style flags work any more - or more accurately, they "work" i.e. they propagate through the app, but the popup menus no longer work, and many of the panels within dialogs still retain the dark coloring.
I wondered if QT now comes with some updated basic styles, hopefully ones that will work in with Maya 2016 UI. I use Maya on the Mac by the way, and have used Apple's Automater app to create a startup widget that starts Maya using a shell script with the QT "style" flag stipulated.
I read a blog post on this site in which someone from QT observed that they will be deleting some of the old bundled QT styles (gtk, clean looks, windows, windowsxp, windows vista, macintosh, ode, motif) but I am hoping that these have been replaced by some more contemporary "flat" options, in particular a "light" option i.e. black text on light grey/white backgrounds....
Hi, and welcome to the Qt Dev Net!
I don't know much about the styles available, but I do know that Plastique has been replaced by Fusion in Qt 5: http://blog.qt.io/blog/2012/10/30/cleaning-up-styles-in-qt5-and-adding-fusion/
Yes, I saw that post in the blog: fusion looks ok (except it has a dark blue highlight color on menus which is pretty ugly IMHO), but applying it to Maya 2016 has the same effect as the other styles: it doesn't work fully in many panels (which the text remains on a dark background), and the popup menus within panels/windows don't work.
Is this because of "poor" programming on the part of the Maya developers that it no longer supports standard QT styles? Should I be reporting this as a "bug", rather than a lack of functionality on the part of the latest versions of Maya?
I was hoping that the QT developers had a range of new styles that would work properly with Maya 2016, or at least one.....
applying it to Maya 2016 has the same effect as the other styles: it doesn't work fully in many panels (which the text remains on a dark background), and the popup menus within panels/windows don't work.
This sounds to me like Maya has created custom widgets (or custom Qt Quick components) for their popup menus within panels/windows, but they hard-coded the widgets' looks instead of using the parameters provided by the style.
I suggest contacting the Maya developers: Describe what you want to achieve, describe how the old version worked, and how the new version lost that functionality. Ask how you can achieve your goals in the new version.