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:
mistersandman
2019-04-08 18:17:15 +02:00
committed by Brad King
parent 3c9dec0bdc
commit fce03306ee

View File

@@ -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)