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:
parent
d005e3d7e5
commit
c453173a03
@ -311,3 +311,5 @@ void QOpenGLCompositor::changeWindowIndex(QOpenGLCompositorWindow *window, int n
|
||||
}
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#include "moc_qopenglcompositor_p.cpp"
|
||||
|
@ -893,3 +893,5 @@ bool QOpenGLEngineShaderManager::useCorrectShaderProg()
|
||||
}
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#include "moc_qopenglengineshadermanager_p.cpp"
|
||||
|
@ -3812,3 +3812,5 @@ bool QOpenGLShaderProgramPrivate::linkBinary()
|
||||
}
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#include "moc_qopenglshaderprogram.cpp"
|
||||
|
@ -4872,3 +4872,5 @@ QDebug operator<<(QDebug debug, const QOpenGLTexture *t)
|
||||
#endif // QT_NO_DEBUG_STREAM
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#include "moc_qopengltexture.cpp"
|
||||
|
@ -878,3 +878,5 @@ void QOpenGLTimeMonitor::reset()
|
||||
}
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#include "moc_qopengltimerquery.cpp"
|
||||
|
@ -696,3 +696,5 @@ QPaintDevice *QOpenGLWindow::redirected(QPoint *) const
|
||||
}
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#include "moc_qopenglwindow.cpp"
|
||||
|
Loading…
Reference in New Issue
Block a user