How do I use QT6 Dark Theme with PySide6?
Simple demo application I am trying to set the theme to dark. I would prefer a code version (non QtQuick preferred), but only way I see for Python is with a QtQuick config file, and even that does not work. from PySide6 import QtWidgets from PySide6 import QtQuick if __name__ == '__main__': app = QtWidgets.QApplication() app.setApplicationDisplayName("Should be Dark Theme") app.setStyle("Universal") view = QtQuick.QQuickView() view.show() app.exec() And I have a qtquickcontrols2.conf configuration file in the same directory. (Also tried setting QT_QUICK_CONTROLS_CONF to absolute path.) [Contro
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.