summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qprocess.cpp
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@qt.io>2016-10-21 10:17:48 +0200
committerMartin Smith <martin.smith@qt.io>2016-12-04 12:28:24 +0000
commit128748d6fe611a008d3f00209cc59199bd423ab8 (patch)
treedc7a3e8b14db15a11e5946d445c8bf288955e163 /src/corelib/io/qprocess.cpp
parentbf2af6af68020fb69521b17ab16b813dee189482 (diff)
doc: make Q_OS_WIN code available to qdoc
Some declarations in QProcess are declared only for Windows. This change uses the Q_CLANG_QDOC macro so that #if defined(Q_OS_WIN) becomes This ensures that Windows-specific documentation always gets generated. The macro is added in both .h and .cpp files. Change-Id: I632fc52d010cd7c0399fd191f44cbacf6ed25aff Reviewed-by: Martin Smith <martin.smith@qt.io>
Diffstat (limited to 'src/corelib/io/qprocess.cpp')
-rw-r--r--src/corelib/io/qprocess.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qprocess.cpp b/src/corelib/io/qprocess.cpp
index 23a3cc1a16..45f0a0e8c0 100644
--- a/src/corelib/io/qprocess.cpp
+++ b/src/corelib/io/qprocess.cpp
@@ -1526,7 +1526,7 @@ void QProcess::setStandardOutputProcess(QProcess *destination)
dto->stdinChannel.pipeFrom(dfrom);
}
-#if defined(Q_OS_WIN)
+#if defined(Q_OS_WIN) || defined(Q_CLANG_QDOC)
/*!
\since 4.7