|
|
@ -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"));
|
|
|
|