diff options
author | Marc Mutz <marc.mutz@qt.io> | 2022-04-28 17:43:38 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2022-04-29 20:37:01 +0200 |
commit | 26992a29c6ec1697fe6cec3379b37d1c9b203947 (patch) | |
tree | a88c490ae688d4cbc21da4e0a495f633cc056c26 /src/qml/util | |
parent | 8a963700499a4264edaf462d906128f662a090fc (diff) |
Qml: 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: Ie39c60a19ba562affe6bd52ba68b38db95298cf3
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/qml/util')
-rw-r--r-- | src/qml/util/qqmlpropertymap.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/util/qqmlpropertymap.cpp b/src/qml/util/qqmlpropertymap.cpp index 2bf8ab0190..23bf1b307c 100644 --- a/src/qml/util/qqmlpropertymap.cpp +++ b/src/qml/util/qqmlpropertymap.cpp @@ -409,3 +409,5 @@ QQmlPropertyMap::QQmlPropertyMap(const QMetaObject *staticMetaObject, QObject *p */ QT_END_NAMESPACE + +#include "moc_qqmlpropertymap.cpp" |