summaryrefslogtreecommitdiffstats
path: root/mkspecs/unsupported/qnx-g++
diff options
context:
space:
mode:
authorHarald Fernengel <harald.fernengel@nokia.com>2009-10-28 14:15:46 (GMT)
committerHarald Fernengel <harald.fernengel@nokia.com>2009-10-28 14:15:46 (GMT)
commit36e362cffe74d8f7fb3eb6b6a67fbab2ebda1a21 (patch)
tree32b922bf92d332c7b664b3c706855d020f6d8b10 /mkspecs/unsupported/qnx-g++
parent0533c709188d07be0c165838b503124cb6b271e1 (diff)
downloadQt-36e362cffe74d8f7fb3eb6b6a67fbab2ebda1a21.zip
Qt-36e362cffe74d8f7fb3eb6b6a67fbab2ebda1a21.tar.gz
Qt-36e362cffe74d8f7fb3eb6b6a67fbab2ebda1a21.tar.bz2
Make Qt on QNX compile again
Fix a typo, update the tmp path to match current qws behavior.
Diffstat (limited to 'mkspecs/unsupported/qnx-g++')
-rw-r--r--mkspecs/unsupported/qnx-g++/qplatformdefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/unsupported/qnx-g++/qplatformdefs.h b/mkspecs/unsupported/qnx-g++/qplatformdefs.h
index f309f81..1bf9ffcb 100644
--- a/mkspecs/unsupported/qnx-g++/qplatformdefs.h
+++ b/mkspecs/unsupported/qnx-g++/qplatformdefs.h
@@ -167,6 +167,6 @@ inline float strtof(const char *b, char **e)
return float(strtod(b, e));
}
-#define QT_QWS_TEMP_DIR qgetenv("TMP");
+#define QT_QWS_TEMP_DIR QString::fromLatin1(qgetenv("TMP"))
#endif // QPLATFORMDEFS_H