QtNetwork: 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-102886 Change-Id: Ie027419956d98c971429f2b4c7ae6f8f56c094f6 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
d792e8d90b
commit
c038fa9e77
@ -1129,3 +1129,5 @@ QDebug operator<<(QDebug s, const QNetworkCookie &cookie)
|
||||
#endif
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#include "moc_qnetworkcookie.cpp"
|
||||
|
@ -1370,3 +1370,5 @@ QDataStream &operator>>(QDataStream &in, QHostAddress &address)
|
||||
#endif //QT_NO_DATASTREAM
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#include "moc_qhostaddress.cpp"
|
||||
|
@ -1614,4 +1614,6 @@ QDebug operator<<(QDebug debug, const QNetworkProxyQuery &proxyQuery)
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#include "moc_qnetworkproxy.cpp"
|
||||
|
||||
#endif // QT_NO_NETWORKPROXY
|
||||
|
@ -395,3 +395,5 @@ QDebug operator<<(QDebug debug, const QSslError::SslError &error)
|
||||
#endif
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#include "moc_qsslerror.cpp"
|
||||
|
Loading…
x
Reference in New Issue
Block a user