mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-02 04:02:23 +03: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:
1 parent
3c9dec0bdc
commit
fce03306ee
1 file changed
+3
@@ -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