diff options
author | Marc Mutz <marc.mutz@qt.io> | 2022-04-28 16:10:10 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2022-04-29 06:37:47 +0200 |
commit | ef2b433c00508f784fb82a515174a459ae4ed5e6 (patch) | |
tree | 9798f60092bed19690d9c7b35251180d990e9838 /src/qmldebug | |
parent | f977fdd175efea1e86b764742889590b4c04fa20 (diff) |
QmlDebugPrivate: includemocs
Including moc files directly into their classes' TU tends to improve
codegen and enables extended compiler warnings, e.g. about unused
private functions or fields.
Pick-to: 6.3 6.2 5.15
Task-number: QTBUG-102948
Change-Id: Ifc06bc5b7a0cbe27188677e869a133dfcd1217ce
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qmldebug')
-rw-r--r-- | src/qmldebug/qqmldebugclient.cpp | 2 | ||||
-rw-r--r-- | src/qmldebug/qqmldebugmessageclient.cpp | 2 | ||||
-rw-r--r-- | src/qmldebug/qqmldebugtranslationclient.cpp | 2 | ||||
-rw-r--r-- | src/qmldebug/qqmlenginedebugclient.cpp | 2 | ||||
-rw-r--r-- | src/qmldebug/qqmlinspectorclient.cpp | 2 | ||||
-rw-r--r-- | src/qmldebug/qqmlpreviewclient.cpp | 2 | ||||
-rw-r--r-- | src/qmldebug/qv4debugclient.cpp | 2 |
7 files changed, 14 insertions, 0 deletions
diff --git a/src/qmldebug/qqmldebugclient.cpp b/src/qmldebug/qqmldebugclient.cpp index 03123cc6e0..13785dd6db 100644 --- a/src/qmldebug/qqmldebugclient.cpp +++ b/src/qmldebug/qqmldebugclient.cpp @@ -123,3 +123,5 @@ void QQmlDebugClient::messageReceived(const QByteArray &message) } QT_END_NAMESPACE + +#include "moc_qqmldebugclient_p.cpp" diff --git a/src/qmldebug/qqmldebugmessageclient.cpp b/src/qmldebug/qqmldebugmessageclient.cpp index 0892404194..ce7a3cb2bb 100644 --- a/src/qmldebug/qqmldebugmessageclient.cpp +++ b/src/qmldebug/qqmldebugmessageclient.cpp @@ -88,3 +88,5 @@ void QQmlDebugMessageClient::messageReceived(const QByteArray &data) } QT_END_NAMESPACE + +#include "moc_qqmldebugmessageclient_p.cpp" diff --git a/src/qmldebug/qqmldebugtranslationclient.cpp b/src/qmldebug/qqmldebugtranslationclient.cpp index 431cb67283..c0656ea8e3 100644 --- a/src/qmldebug/qqmldebugtranslationclient.cpp +++ b/src/qmldebug/qqmldebugtranslationclient.cpp @@ -83,3 +83,5 @@ void QQmlDebugTranslationClient::messageReceived(const QByteArray &message) } QT_END_NAMESPACE + +#include "moc_qqmldebugtranslationclient_p.cpp" diff --git a/src/qmldebug/qqmlenginedebugclient.cpp b/src/qmldebug/qqmlenginedebugclient.cpp index 0ca3f573d9..fd467337d8 100644 --- a/src/qmldebug/qqmlenginedebugclient.cpp +++ b/src/qmldebug/qqmlenginedebugclient.cpp @@ -566,3 +566,5 @@ qint32 QQmlEngineDebugClient::getId() } QT_END_NAMESPACE + +#include "moc_qqmlenginedebugclient_p.cpp" diff --git a/src/qmldebug/qqmlinspectorclient.cpp b/src/qmldebug/qqmlinspectorclient.cpp index 1de52bd0c1..a3f5c68f0d 100644 --- a/src/qmldebug/qqmlinspectorclient.cpp +++ b/src/qmldebug/qqmlinspectorclient.cpp @@ -148,3 +148,5 @@ void QQmlInspectorClient::messageReceived(const QByteArray &message) } QT_END_NAMESPACE + +#include "moc_qqmlinspectorclient_p.cpp" diff --git a/src/qmldebug/qqmlpreviewclient.cpp b/src/qmldebug/qqmlpreviewclient.cpp index abda548d01..da12cca522 100644 --- a/src/qmldebug/qqmlpreviewclient.cpp +++ b/src/qmldebug/qqmlpreviewclient.cpp @@ -130,3 +130,5 @@ void QQmlPreviewClient::triggerZoom(float factor) } QT_END_NAMESPACE + +#include "moc_qqmlpreviewclient_p.cpp" diff --git a/src/qmldebug/qv4debugclient.cpp b/src/qmldebug/qv4debugclient.cpp index 76c2f1ebea..127e4a405e 100644 --- a/src/qmldebug/qv4debugclient.cpp +++ b/src/qmldebug/qv4debugclient.cpp @@ -576,3 +576,5 @@ QByteArray QV4DebugClientPrivate::packMessage(const QByteArray &type, const QJso } QT_END_NAMESPACE + +#include "moc_qv4debugclient_p.cpp" |