Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
I have an ApplicationWindow in which i setup material setting for example: "Material.accent: Material.LightBlue".
The problem that I have is that I open other Window from C++ and I want to set the same settings to this new Window. The challenge is that this new Window need to be set automatically the settings depending on the main ApplicationWindow.
Gojir4 last edited by
You can configure the theme for the whole application using Qt Quick Controls Configuration File.
This post is deleted!
@Gojir4 The thing with your solution is that if you put dark mode on main window, you don't have dark mode to window dialog because it is not a child from main window.