summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qglobal.h
diff options
context:
space:
mode:
authorOliver Wolff <oliver.wolff@digia.com>2013-09-17 09:43:58 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-20 13:54:08 +0200
commit5ffedd0495e341a14169458c31b2c9003f756dba (patch)
tree89477c9611f4973aa1427c6d39713aa724949ced /src/corelib/global/qglobal.h
parent4260ed49c653487b85d6fa2d3e7e4c60b6e9e591 (diff)
QT_NO_PROCESS for WinRT
As Windows Runtime does not really support the use of spawning processes QT_NO_PROCESS is defined for winrt builds and the corresponding sources are excluded from build. Change-Id: I79263417c985b23678c55ac44a5591a9a69d3c13 Reviewed-by: Andrew Knight <andrew.knight@digia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src/corelib/global/qglobal.h')
-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 62ec25f003..f38672bdc1 100644
--- a/src/corelib/global/qglobal.h
+++ b/src/corelib/global/qglobal.h
@@ -540,6 +540,10 @@ class QDataStream;
# define QT_NO_SYSTEMSEMAPHORE // not needed at all in a flat address space
#endif
+#if defined(Q_OS_WINRT)
+# define QT_NO_PROCESS
+#endif
+
inline void qt_noop(void) {}
/* These wrap try/catch so we can switch off exceptions later.