summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@digia.com>2015-03-04 16:56:49 +0100
committerTor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>2015-03-06 19:01:38 +0000
commitb0182069e57175216bc9aa6d71fcb7efbff54116 (patch)
treece29700ea700c5ec644722c95dcce183c3758f7d /src/corelib
parentd326952b51ccd8e92f54d9faee12475060ab0968 (diff)
iOS: Define QT_NO_PROCESS, as the platform doesn't allow fork/exec
Change-Id: I0928c4aaa0c308ee86b9611beeba3937b61e226c Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/global/qglobal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h
index 92027611b5..ddba460b06 100644
--- a/src/corelib/global/qglobal.h
+++ b/src/corelib/global/qglobal.h
@@ -585,6 +585,10 @@ class QDataStream;
# define QT_NO_SOCKS5
#endif
+#if defined(Q_OS_IOS)
+# define QT_NO_PROCESS
+#endif
+
inline void qt_noop(void) {}
/* These wrap try/catch so we can switch off exceptions later.