QStyleFactory Styles
-
When I run
const QStringList styles = QStyleFactory::keys(); for(auto s : styles) { qDebug() << s; }I get
22:52:30: Starting /home/fmc/Desktop/Qt Projects/Qt-5-GUI-Development/build-QFileDemo-Desktop_Qt_6_0_0_GCC_64bit-Debug/QFileDemo ... "Windows" "Fusion"How can I add GTK to this list and then set it as default? I'm running Linux Mint 20.1.
-
When I run
const QStringList styles = QStyleFactory::keys(); for(auto s : styles) { qDebug() << s; }I get
22:52:30: Starting /home/fmc/Desktop/Qt Projects/Qt-5-GUI-Development/build-QFileDemo-Desktop_Qt_6_0_0_GCC_64bit-Debug/QFileDemo ... "Windows" "Fusion"How can I add GTK to this list and then set it as default? I'm running Linux Mint 20.1.
@Driftwood If you're using Qt provided by Linux Mint install qt5-gtk-platformtheme package. But you seem to use Qt6?
-