Skip to content
Snippets Groups Projects
Commit 785f8754 authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'qtdialog-lib-paths'

48624b3c cmake-gui: Do not remove library paths for Qt5 plugins.
parents d0a27ae9 48624b3c
Branches
Tags
No related merge requests found
......@@ -109,11 +109,13 @@ int main(int argc, char** argv)
QTextCodec::setCodecForLocale(utf8_codec);
#endif
#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());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment