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>
This commit is contained in:
parent
8a96370049
commit
26992a29c6
|
@ -116,6 +116,8 @@ struct ResolveThenableEvent : public QEvent
|
|||
} // namespace Promise
|
||||
} // namespace QV4
|
||||
|
||||
#include "moc_qv4promiseobject_p.cpp"
|
||||
|
||||
ReactionHandler::ReactionHandler(QObject *parent)
|
||||
: QObject(parent)
|
||||
{}
|
||||
|
|
|
@ -738,3 +738,5 @@ QMetaType SequencePrototype::metaTypeForSequence(const QV4::Object *object)
|
|||
}
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#include "moc_qv4sequenceobject_p.cpp"
|
||||
|
|
|
@ -2217,3 +2217,5 @@ ReturnedValue QtObject::method_callLater(const FunctionObject *b, const Value *t
|
|||
}
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#include "moc_qqmlbuiltinfunctions_p.cpp"
|
||||
|
|
|
@ -1996,4 +1996,6 @@ void hasJsOwnershipIndicator(QQmlGuardImpl *) {};
|
|||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#include "moc_qqmlengine_p.cpp"
|
||||
|
||||
#include "moc_qqmlengine.cpp"
|
||||
|
|
|
@ -1898,3 +1898,5 @@ void QQmlPropertyPrivate::flushSignal(const QObject *sender, int signal_index)
|
|||
}
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#include "moc_qqmlproperty.cpp"
|
||||
|
|
|
@ -220,3 +220,5 @@ bool QQmlScriptString::booleanLiteral(bool *ok) const
|
|||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#include "moc_qqmlscriptstring.cpp"
|
||||
|
||||
|
|
|
@ -72,3 +72,5 @@ void QQmlTypeLoaderNetworkReplyProxy::manualFinished(QNetworkReply *reply)
|
|||
}
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#include "moc_qqmltypeloadernetworkreplyproxy_p.cpp"
|
||||
|
|
|
@ -409,3 +409,5 @@ QQmlPropertyMap::QQmlPropertyMap(const QMetaObject *staticMetaObject, QObject *p
|
|||
*/
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#include "moc_qqmlpropertymap.cpp"
|
||||
|
|
Loading…
Reference in New Issue