summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2011-09-20 00:33:38 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2011-09-20 00:33:38 (GMT)
commit367a89cf5cb1282d2e966c83869a56fd22745779 (patch)
tree75983b6d38d31129ff4662248a587cf8ce6dc58e /src/corelib
parent3a7e23ef51b6099fc6dcfca36e04ec61bfa4337b (diff)
parent0d0c1082f74888044713d96deca2d510951d018a (diff)
downloadQt-367a89cf5cb1282d2e966c83869a56fd22745779.zip
Qt-367a89cf5cb1282d2e966c83869a56fd22745779.tar.gz
Qt-367a89cf5cb1282d2e966c83869a56fd22745779.tar.bz2
Merge branch 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1: Fixed automatic plugin path resolving for predefined Qt plugins. Resolve a number of compilation issues with INTEGRITY Fix compile issue when building with QT_NO_CONCURRENT and QT_NO_FUTURE
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/concurrent/qfuturewatcher.cpp3
-rw-r--r--src/corelib/io/io.pri4
-rw-r--r--src/corelib/io/qfilesystemengine_unix.cpp4
3 files changed, 10 insertions, 1 deletions
diff --git a/src/corelib/concurrent/qfuturewatcher.cpp b/src/corelib/concurrent/qfuturewatcher.cpp
index 0bef4a6..a70f56b 100644
--- a/src/corelib/concurrent/qfuturewatcher.cpp
+++ b/src/corelib/concurrent/qfuturewatcher.cpp
@@ -600,5 +600,8 @@ void QFutureWatcherBase::setPaused(bool) { }
void QFutureWatcherBase::pause() { }
void QFutureWatcherBase::resume() { }
void QFutureWatcherBase::togglePaused() { }
+bool QFutureWatcherBase::event(QEvent *) { return false; }
+void QFutureWatcherBase::connectNotify(const char *) { }
+void QFutureWatcherBase::disconnectNotify(const char *) { }
#endif // QT_NO_QFUTURE
diff --git a/src/corelib/io/io.pri b/src/corelib/io/io.pri
index e411f8f..78993a0 100644
--- a/src/corelib/io/io.pri
+++ b/src/corelib/io/io.pri
@@ -118,5 +118,7 @@ win32 {
}
integrity {
SOURCES += io/qfsfileengine_unix.cpp \
- io/qfsfileengine_iterator_unix.cpp
+ io/qfsfileengine_iterator.cpp \
+ io/qfilesystemengine_unix.cpp \
+ io/qfilesystemiterator_unix.cpp
}
diff --git a/src/corelib/io/qfilesystemengine_unix.cpp b/src/corelib/io/qfilesystemengine_unix.cpp
index cfb17de..b1b5e7e 100644
--- a/src/corelib/io/qfilesystemengine_unix.cpp
+++ b/src/corelib/io/qfilesystemengine_unix.cpp
@@ -264,12 +264,14 @@ QString QFileSystemEngine::resolveUserName(uint userId)
#endif
struct passwd *pw = 0;
+#if !defined(Q_OS_INTEGRITY)
#if !defined(QT_NO_THREAD) && defined(_POSIX_THREAD_SAFE_FUNCTIONS) && !defined(Q_OS_OPENBSD)
struct passwd entry;
getpwuid_r(userId, &entry, buf.data(), buf.size(), &pw);
#else
pw = getpwuid(userId);
#endif
+#endif
if (pw)
return QFile::decodeName(QByteArray(pw->pw_name));
return QString();
@@ -286,6 +288,7 @@ QString QFileSystemEngine::resolveGroupName(uint groupId)
#endif
struct group *gr = 0;
+#if !defined(Q_OS_INTEGRITY)
#if !defined(QT_NO_THREAD) && defined(_POSIX_THREAD_SAFE_FUNCTIONS) && !defined(Q_OS_OPENBSD)
size_max = sysconf(_SC_GETGR_R_SIZE_MAX);
if (size_max == -1)
@@ -305,6 +308,7 @@ QString QFileSystemEngine::resolveGroupName(uint groupId)
#else
gr = getgrgid(groupId);
#endif
+#endif
if (gr)
return QFile::decodeName(QByteArray(gr->gr_name));
return QString();