diff options
author | Rolland Dudemaine <rolland@ghs.com> | 2011-02-22 15:27:59 (GMT) |
---|---|---|
committer | Harald Fernengel <harald.fernengel@nokia.com> | 2011-02-22 15:27:59 (GMT) |
commit | fa033bb0bc36737908375906bc47ac83300b0b5c (patch) | |
tree | 962765cb4b07c7c40b96d3e87c21d10a10a402f8 /src/gui/kernel/qapplication_qws.cpp | |
parent | debca4dfbb45ee3f16c49e13f904efc0c589e4f1 (diff) | |
download | Qt-fa033bb0bc36737908375906bc47ac83300b0b5c.zip Qt-fa033bb0bc36737908375906bc47ac83300b0b5c.tar.gz Qt-fa033bb0bc36737908375906bc47ac83300b0b5c.tar.bz2 |
Various INTEGRITY fixes
Small-ish compilation fixes.
Note that "Value" is a reserved word on INTEGRITY, so we need to use the correct
namespace.
Merge-request: 1101
Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
Diffstat (limited to 'src/gui/kernel/qapplication_qws.cpp')
-rw-r--r-- | src/gui/kernel/qapplication_qws.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/kernel/qapplication_qws.cpp b/src/gui/kernel/qapplication_qws.cpp index f0801e3..642d3e6 100644 --- a/src/gui/kernel/qapplication_qws.cpp +++ b/src/gui/kernel/qapplication_qws.cpp @@ -204,6 +204,11 @@ QString qws_dataDir() result = QT_VFB_DATADIR(qws_display_id); QByteArray dataDir = result.toLocal8Bit(); +#if defined(Q_OS_INTEGRITY) + /* ensure filesystem is ready before starting requests */ + WaitForFileSystemInitialization(); +#endif + if (QT_MKDIR(dataDir, 0700)) { if (errno != EEXIST) { qFatal("Cannot create Qt for Embedded Linux data directory: %s", dataDir.constData()); |