summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/CMakeSetup.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2020-06-02 18:32:29 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2020-06-09 14:30:46 (GMT)
commitce9dbceb42b6c9170a86c6f05a914b3a72f656c8 (patch)
treef8c2ddab8b7932e721ab05f0c16bd220c226e6b6 /Source/QtDialog/CMakeSetup.cxx
parent8ea50749da2c8687a31272754eeed54646de1682 (diff)
downloadCMake-ce9dbceb42b6c9170a86c6f05a914b3a72f656c8.zip
CMake-ce9dbceb42b6c9170a86c6f05a914b3a72f656c8.tar.gz
CMake-ce9dbceb42b6c9170a86c6f05a914b3a72f656c8.tar.bz2
QtDialog: remove Qt4-only code
The `reset()` method was actually deprecated for 5.0 which means it can now be removed here.
Diffstat (limited to 'Source/QtDialog/CMakeSetup.cxx')
-rw-r--r--Source/QtDialog/CMakeSetup.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/Source/QtDialog/CMakeSetup.cxx b/Source/QtDialog/CMakeSetup.cxx
index 9d928b2..7ef5a72 100644
--- a/Source/QtDialog/CMakeSetup.cxx
+++ b/Source/QtDialog/CMakeSetup.cxx
@@ -115,14 +115,6 @@ int main(int argc, char** argv)
QTextCodec* utf8_codec = QTextCodec::codecForName("UTF-8");
QTextCodec::setCodecForLocale(utf8_codec);
-#if QT_VERSION < 0x050000
- // clean out standard Qt paths for plugins, which we don't use anyway
- // when creating Mac bundles, it potentially causes problems
- foreach (QString p, QApplication::libraryPaths()) {
- QApplication::removeLibraryPath(p);
- }
-#endif
-
// tell the cmake library where cmake is
QDir cmExecDir(QApplication::applicationDirPath());
#if defined(Q_OS_MAC)