mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Remove unnecessary OSX lib search paths
This commit is contained in:
parent
0554b08c02
commit
53e304b968
15
src/main.cpp
15
src/main.cpp
|
@ -93,21 +93,6 @@ int main(int argc, char *argv[])
|
||||||
// Windows platform plugins DLL hell fix
|
// Windows platform plugins DLL hell fix
|
||||||
QCoreApplication::addLibraryPath(QCoreApplication::applicationDirPath());
|
QCoreApplication::addLibraryPath(QCoreApplication::applicationDirPath());
|
||||||
a.addLibraryPath("platforms");
|
a.addLibraryPath("platforms");
|
||||||
#ifdef Q_OS_OSX
|
|
||||||
QString startPath = a.applicationDirPath();
|
|
||||||
QDir pluginsDir(startPath);
|
|
||||||
pluginsDir.cdUp();
|
|
||||||
pluginsDir.cd("PlugIns");
|
|
||||||
a.addLibraryPath(pluginsDir.absolutePath());
|
|
||||||
pluginsDir.cd(startPath);
|
|
||||||
pluginsDir.cdUp();
|
|
||||||
pluginsDir.cd("Plugins");
|
|
||||||
a.addLibraryPath(pluginsDir.absolutePath());
|
|
||||||
pluginsDir.cd(startPath);
|
|
||||||
pluginsDir.cdUp();
|
|
||||||
pluginsDir.cd("plugins");
|
|
||||||
a.addLibraryPath(pluginsDir.absolutePath());
|
|
||||||
#endif
|
|
||||||
|
|
||||||
qDebug() << "built on: " << __TIME__ << __DATE__ << "(" << TIMESTAMP << ")";
|
qDebug() << "built on: " << __TIME__ << __DATE__ << "(" << TIMESTAMP << ")";
|
||||||
qDebug() << "commit: " << GIT_VERSION << "\n";
|
qDebug() << "commit: " << GIT_VERSION << "\n";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user