Add the missing QtGui/qtgui-config.h
QT_NO_OPENGL is defined in qtgui-config.h so we should include it before checking the definition. Fixes: QTBUG-115446 Pick-to: 6.5 Change-Id: I29b9d7d89fe4c079ca0cf767a1b1a63cc5621623 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit 2b6270af24b236dc329b7deab8f0ea9916af2e1a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
44e53b3ed9
commit
192c343582
@ -1,6 +1,7 @@
|
||||
// Copyright (C) 2020 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#include <QtGui/qtgui-config.h>
|
||||
#ifndef QT_NO_OPENGL
|
||||
# include <QtGui/private/qopenglcontext_p.h>
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user