ENH: Prevent loading standard qt plugins at runtime (which we dont' care about).
This can cause problems if a Mac bundle doesn't contain the plugins.
This commit is contained in:
parent
0f005630d3
commit
2edb9c4e32
|
@ -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++)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue