diff options
author | mistersandman <9495-mistersandman@users.noreply.gitlab.kitware.com> | 2019-04-08 16:17:15 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-04-08 17:30:05 (GMT) |
commit | fce03306ee995894f6f835ca4340cfa34ce9184b (patch) | |
tree | f50761c7f8872c3baaab08b757a22c14f13c8a8a /Source | |
parent | 3c9dec0bdc11a69afcbaa93a0e61dc71cddd5491 (diff) | |
download | CMake-fce03306ee995894f6f835ca4340cfa34ce9184b.zip CMake-fce03306ee995894f6f835ca4340cfa34ce9184b.tar.gz CMake-fce03306ee995894f6f835ca4340cfa34ce9184b.tar.bz2 |
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
Diffstat (limited to 'Source')
-rw-r--r-- | Source/QtDialog/CMakeSetup.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/QtDialog/CMakeSetup.cxx b/Source/QtDialog/CMakeSetup.cxx index cd30ad5..8d9a50c 100644 --- a/Source/QtDialog/CMakeSetup.cxx +++ b/Source/QtDialog/CMakeSetup.cxx @@ -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) |