summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/QtDialog/CMakeSetup.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/QtDialog/CMakeSetup.cxx b/Source/QtDialog/CMakeSetup.cxx
index e90ed16..bdc8a66 100644
--- a/Source/QtDialog/CMakeSetup.cxx
+++ b/Source/QtDialog/CMakeSetup.cxx
@@ -68,6 +68,13 @@ int main(int argc, char** argv)
{
QApplication app(argc, argv);
+ // 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);
+ }
+
// if arg for install
for(int i =0; i < argc; i++)
{