Detection of the platform's name Mac was wrong.
Task-number: QTBUG-27894
Change-Id: I3194fac4e78d12682871dec63a905b4c940fb80c
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
qPrintable(QDir::toNativeSeparators(directory.absolutePath())));\
return -1;\
}\
- } else if (QGuiApplication::platformName() == QLatin1String("Cocoa")) {\
+ } else if (QGuiApplication::platformName() == QLatin1String("cocoa")) {\
if (directory.absolutePath().endsWith(#NAME".app/Contents/MacOS"))\
for (int i = 0; i < 3; ++i) {\
if (!directory.cdUp()) {\