mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-09 23:30:35 -06:00
cmake-gui: Fix theme on Windows with Qt >= 5.10
In Qt 5.10 the theme support moved to a separate QWindowsVistaStyle plugin. Issue: #19147
This commit is contained in:
@@ -48,6 +48,9 @@ Q_IMPORT_PLUGIN(QXcbIntegrationPlugin);
|
||||
|
||||
#if defined(USE_QWindowsIntegrationPlugin)
|
||||
Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin);
|
||||
# if QT_VERSION >= QT_VERSION_CHECK(5, 10, 0)
|
||||
Q_IMPORT_PLUGIN(QWindowsVistaStylePlugin);
|
||||
# endif
|
||||
#endif
|
||||
|
||||
int main(int argc, char** argv)
|
||||
|
||||
Reference in New Issue
Block a user