Set application theme in Qt
c++, qt
Solution
You can use this function:
QStyle * QApplication::setStyle ( const QString & style );
Take a look at the Qt docs:
Qt 5
Qt 4.8
Problem
Is there a way I can set the application theme from inside my application's own code? For example, a function like that: ``` setApplicationTheme("Plastique"); ```