Disable some features for INTEGRITY

Specifically, this is a single-process build.

Change-Id: I1b2cc33641df0ef73f1f26f388c1af3d954ce6e8
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
Rolland Dudemaine 2015-10-27 02:05:08 +01:00
parent ad9726d99c
commit 44724563aa
1 changed files with 7 additions and 0 deletions

View File

@ -627,6 +627,13 @@ class QDataStream;
# define QT_NO_PROCESS
#endif
#if defined(Q_OS_INTEGRITY)
# define QT_NO_CRASHHANDLER // no popen
# define QT_NO_PROCESS // no exec*, no fork
# define QT_NO_SYSTEMSEMAPHORE // not needed at all in a single AddressSpace
# define QT_NO_MULTIPROCESS // no system
#endif
inline void qt_noop(void) {}
/* These wrap try/catch so we can switch off exceptions later.