mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 18:19:55 +00:00
OS X: do not override Qt plugin path
This commit is contained in:
parent
4dcb1a1b17
commit
014a2fc0e9
2 changed files with 0 additions and 18 deletions
|
@ -41,15 +41,6 @@ int main(int argc, char *argv[])
|
||||||
dir.cdUp();
|
dir.cdUp();
|
||||||
dir.cdUp();
|
dir.cdUp();
|
||||||
}
|
}
|
||||||
|
|
||||||
// force Qt to load only LOCAL plugins, don't touch system Qt installation
|
|
||||||
QDir pluginsPath(QCoreApplication::applicationDirPath());
|
|
||||||
pluginsPath.cdUp();
|
|
||||||
pluginsPath.cd("Plugins");
|
|
||||||
|
|
||||||
QStringList libraryPaths;
|
|
||||||
libraryPaths << pluginsPath.path() << QCoreApplication::applicationDirPath();
|
|
||||||
app.setLibraryPaths(libraryPaths);
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
QDir::setCurrent(dir.absolutePath());
|
QDir::setCurrent(dir.absolutePath());
|
||||||
|
|
|
@ -68,15 +68,6 @@ int main(int argc, char *argv[])
|
||||||
dir.cdUp();
|
dir.cdUp();
|
||||||
}
|
}
|
||||||
QDir::setCurrent(dir.absolutePath());
|
QDir::setCurrent(dir.absolutePath());
|
||||||
|
|
||||||
// force Qt to load only LOCAL plugins, don't touch system Qt installation
|
|
||||||
QDir pluginsPath(QCoreApplication::applicationDirPath());
|
|
||||||
pluginsPath.cdUp();
|
|
||||||
pluginsPath.cd("Plugins");
|
|
||||||
|
|
||||||
QStringList libraryPaths;
|
|
||||||
libraryPaths << pluginsPath.path() << QCoreApplication::applicationDirPath();
|
|
||||||
application.setLibraryPaths(libraryPaths);
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
application.setWindowIcon (QIcon (":./openmw-cs.png"));
|
application.setWindowIcon (QIcon (":./openmw-cs.png"));
|
||||||
|
|
Loading…
Reference in a new issue