diff options
author | Brad King <brad.king@kitware.com> | 2017-11-13 13:48:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-11-13 14:54:49 (GMT) |
commit | 27a73f1613a6c45eba3ca0d210564df8cbdac66e (patch) | |
tree | dde5d4f859a2fd45097dee63893cb2e053ddd5ac /Source/QtDialog/CMakeSetup.cxx | |
parent | 78f5d571e4b07cc71d44c78ff36a335693298ccb (diff) | |
download | CMake-27a73f1613a6c45eba3ca0d210564df8cbdac66e.zip CMake-27a73f1613a6c45eba3ca0d210564df8cbdac66e.tar.gz CMake-27a73f1613a6c45eba3ca0d210564df8cbdac66e.tar.bz2 |
cmake-gui: Add build option to use Qt5 windows plugin statically
This will enable builds against a static Qt5 on Windows.
Diffstat (limited to 'Source/QtDialog/CMakeSetup.cxx')
-rw-r--r-- | Source/QtDialog/CMakeSetup.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/QtDialog/CMakeSetup.cxx b/Source/QtDialog/CMakeSetup.cxx index ca0b015..bfd43cf 100644 --- a/Source/QtDialog/CMakeSetup.cxx +++ b/Source/QtDialog/CMakeSetup.cxx @@ -44,6 +44,10 @@ static void cmAddPluginPath(); Q_IMPORT_PLUGIN(QXcbIntegrationPlugin); #endif +#if defined(USE_QWindowsIntegrationPlugin) +Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin); +#endif + int main(int argc, char** argv) { cmsys::Encoding::CommandLineArguments encoding_args = |