diff options
author | Michael BrĂ¼ning <michael.bruning@qt.io> | 2022-10-17 17:25:42 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-10-18 10:50:00 +0000 |
commit | 2d0926b587cbf32941973f3e506b1c6de74316d8 (patch) | |
tree | 64cb1af68ee944a063af836d7c5e28edfafce214 /examples/webenginewidgets | |
parent | 26ebdc62a6ec4dd59f873e86afd4531f2c2f3546 (diff) |
Only warn the user about conditions that are not met
When loaded from a plugin, we printed a warning about setting the
application attribute Qt::AA_ShareOpenGLContexts and choosing OpenGLRhi
as the scene graph renderer interface even when those conditions were
already met.
This patch checks if these conditions are already met before printing
the warning.
Change-Id: Iee06fa4560e022f0611f07a082513dc91c8065c9
Fixes: QTBUG-103958
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit 9e5214e617471b326cc975095054f859924b4168)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/webenginewidgets')
0 files changed, 0 insertions, 0 deletions