Fix the runtime search path when running in a Mac App Bundle

This commit is contained in:
Sandeep Thakkar 2016-05-06 15:53:00 +01:00 committed by Dave Page
parent e522ebbcca
commit c8406a5994

View File

@ -85,7 +85,7 @@ bool Server::Init()
QStringList paths;
paths.append("../web/"); // Linux source tree
paths.append("../../web/"); // Windows source tree
paths.append("../../../../web/"); // Mac source tree (in the app bundle)
paths.append("../Resources/web/"); // Mac source tree (in the app bundle)
paths.append(settings.value("ApplicationPath").toString()); // System configured value
paths.append(""); // Should be last!