path: root/src/corelib
diff options
authorKai Koehne <>2016-02-26 15:42:51 +0100
committerSimon Hausmann <>2016-03-04 12:07:23 +0000
commit9a999eb7b09b5ddf1545546b9e71b0326c0bb0d2 (patch)
tree1754620f13a8730d05d18c38e7c38b8dbd6d39e2 /src/corelib
parent840831b6116a289ce45377aa5366974e6ec7c0e8 (diff)
Remove QT_MOC_COMPAT from deprecated QProcess::error signal
QT_MOC_COMPAT has the unfortunate behavior that it generates a warning at runtime, which also cannot be disabled. This is too draconic. Task-number: QTBUG-51517 Change-Id: I80af8b8b482671e4c9567281c3b1c504d737e202 Reviewed-by: hjk <> Reviewed-by: Eike Ziller <> Reviewed-by: Oswald Buddenhagen <>
Diffstat (limited to 'src/corelib')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qprocess.h b/src/corelib/io/qprocess.h
index f95358250e..60c513d12e 100644
--- a/src/corelib/io/qprocess.h
+++ b/src/corelib/io/qprocess.h
@@ -243,7 +243,7 @@ Q_SIGNALS:
void finished(int exitCode); // ### Qt 6: merge the two signals with a default value
void finished(int exitCode, QProcess::ExitStatus exitStatus);
- QT_MOC_COMPAT void error(QProcess::ProcessError error);
+ void error(QProcess::ProcessError error);
void errorOccurred(QProcess::ProcessError error);
void stateChanged(QProcess::ProcessState state, QPrivateSignal);