Search path for the runtime when running in a Mac dev env.

This commit is contained in:
Dave Page
2016-05-10 16:39:02 +01:00
parent 9cae686c65
commit a5bb65c468
+2 -1
View File
@@ -85,7 +85,8 @@ bool Server::Init()
QStringList paths;
paths.append("../web/"); // Linux source tree
paths.append("../../web/"); // Windows source tree
paths.append("../Resources/web/"); // Mac source tree (in the app bundle)
paths.append("../../../../web/"); // Mac source tree (in a dev env)
paths.append("../Resources/web/"); // Mac source tree (in a release app bundle)
paths.append(settings.value("ApplicationPath").toString()); // System configured value
paths.append(""); // Should be last!