Support building against Qt-6.7

This commit is contained in:
Alexander Golubev
2024-11-08 22:48:12 +03:00
parent c2c359ed27
commit 3f59bcbae4
4 changed files with 16 additions and 0 deletions

View File

@ -60,8 +60,10 @@ public:
/// Apply style to the widget
static void style(QWidget* widget);
#if QT_VERSION >= QT_VERSION_CHECK(6, 8, 0)
/// Overrides automatically detected dark theme / light theme settings
static void setDarkTheme(bool isDarkTheme);
#endif
/// Returns true if the dark theme is currently set for the application.
static bool isDarkTheme();