QmlProject: Fix compilation on cygwin

Move use of windows API to winutils.
This commit is contained in:
Kai Koehne
2011-01-05 14:44:52 +01:00
parent e624c3fbe6
commit 2c4ae8c1b8
3 changed files with 49 additions and 14 deletions

View File

@@ -58,6 +58,10 @@ QTCREATOR_UTILS_EXPORT QString winGetDLLVersion(WinDLLVersionType t,
QTCREATOR_UTILS_EXPORT QString getShortPathName(const QString &name,
QString *errorMessage);
// Returns long name
QTCREATOR_UTILS_EXPORT QString getLongPathName(const QString &name,
QString *errorMessage);
QTCREATOR_UTILS_EXPORT unsigned long winQPidToPid(const Q_PID qpid);
QTCREATOR_UTILS_EXPORT bool winIs64BitSystem();
@@ -65,5 +69,7 @@ QTCREATOR_UTILS_EXPORT bool winIs64BitSystem();
// Check for a 64bit binary.
QTCREATOR_UTILS_EXPORT bool winIs64BitBinary(const QString &binary);
} // namespace Utils
#endif // WINUTILS_H