QtOpenGL: 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: I60fb8c22a310dfd10cd3611fb603e2175ac6dbcc
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
Marc Mutz 2022-04-27 20:21:26 +02:00
parent d005e3d7e5
commit c453173a03
6 changed files with 12 additions and 0 deletions

View File

@ -311,3 +311,5 @@ void QOpenGLCompositor::changeWindowIndex(QOpenGLCompositorWindow *window, int n
}
QT_END_NAMESPACE
#include "moc_qopenglcompositor_p.cpp"

View File

@ -893,3 +893,5 @@ bool QOpenGLEngineShaderManager::useCorrectShaderProg()
}
QT_END_NAMESPACE
#include "moc_qopenglengineshadermanager_p.cpp"

View File

@ -3812,3 +3812,5 @@ bool QOpenGLShaderProgramPrivate::linkBinary()
}
QT_END_NAMESPACE
#include "moc_qopenglshaderprogram.cpp"

View File

@ -4872,3 +4872,5 @@ QDebug operator<<(QDebug debug, const QOpenGLTexture *t)
#endif // QT_NO_DEBUG_STREAM
QT_END_NAMESPACE
#include "moc_qopengltexture.cpp"

View File

@ -878,3 +878,5 @@ void QOpenGLTimeMonitor::reset()
}
QT_END_NAMESPACE
#include "moc_qopengltimerquery.cpp"

View File

@ -696,3 +696,5 @@ QPaintDevice *QOpenGLWindow::redirected(QPoint *) const
}
QT_END_NAMESPACE
#include "moc_qopenglwindow.cpp"