Use Q_OS_MACOS instead of Q_OS_DARWIN

This commit is contained in:
Jonas Kvinge
2019-01-04 00:39:22 +01:00
parent de7154eda8
commit c271e05abc
2 changed files with 3 additions and 3 deletions

View File

@@ -162,7 +162,7 @@ int main(int argc, char* argv[]) {
QtSingleApplication a(argc, argv);
#if defined(Q_OS_DARWIN) && defined(USE_BUNDLE)
#if defined(Q_OS_MACOS) && defined(USE_BUNDLE)
qLog(Debug) << "Looking for resources in" << QCoreApplication::applicationDirPath() + "/" + USE_BUNDLE_DIR;
QCoreApplication::setLibraryPaths(QStringList() << QCoreApplication::applicationDirPath() + "/" + USE_BUNDLE_DIR);
#endif