We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b48ca3f commit 1a4731aCopy full SHA for 1a4731a
_common/qt-modules/app_path_qt/private/pge_app_path.cpp
@@ -22,6 +22,10 @@
22
#include <QDir>
23
#include <QFileInfo>
24
25
+#ifdef __APPLE__
26
+#include <unistd.h>
27
+#endif
28
+
29
#include "../pge_app_path.h"
30
#include "pge_app_path_private.h"
31
#include PGE_APP_PATH_VERSION_HEADER
@@ -87,6 +91,7 @@ void AppPathManager::initAppPath(const char *argv0)
87
91
if(!QDir(ApplicationPath + "/Data directory").exists())
88
92
symlink((path + UserDirName).toUtf8().data(), (ApplicationPath + "/Data directory").toUtf8().data());
89
93
#endif
94
90
95
m_userPath = appDir.absolutePath();
96
initSettingsPath();
97
initDataPath();
0 commit comments