Remove __CYGWIN__ from Issue 3012 Windows pathing fix because Cygwin
uses posix pathing and not Windows pathing.
This commit is contained in:
@@ -53,7 +53,7 @@ void registerSimulators()
|
|||||||
if (!simulatorsFound) {
|
if (!simulatorsFound) {
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
dir = QLibraryInfo::location(QLibraryInfo::PrefixPath) + "/Resources";
|
dir = QLibraryInfo::location(QLibraryInfo::PrefixPath) + "/Resources";
|
||||||
#elif (!defined __GNUC__) || (defined __CYGWIN__)
|
#elif (!defined __GNUC__)
|
||||||
char name[MAX_PATH];
|
char name[MAX_PATH];
|
||||||
GetModuleFileName(NULL, name, MAX_PATH);
|
GetModuleFileName(NULL, name, MAX_PATH);
|
||||||
QString path(name);
|
QString path(name);
|
||||||
|
|||||||
Reference in New Issue
Block a user