diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> | 2020-04-15 13:48:38 +0200 |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> | 2020-04-17 07:27:56 +0200 |
commit | ac009a9671ad97e9bc599676c35acd4628e45e7b (patch) | |
tree | 4a6cc8da2f7e0605ca0b3ca4c5644d292f1ff201 /src/quick/designer | |
parent | c3fcbe73189b26e49ad8fa824b2b8e6b7db0a8f4 (diff) |
Get rid of Q_OPENGL_ES* macros
These macros are no longer defined, and we will use QT_CONFIG
instead, since that is more robust (it checks against
misspellings).
This also removes some dead code from the WebKit code in
Qt QML. The condition never resolved to true in our case
since Qt QML does not depend on Qt GUI, so even before
the macro would not be set. This is just a leftover
anyway, as the graphical parts are not used in QML.
Task-number: QTBUG-83467
Change-Id: I2c4b7f928538cc75ce408deb357f8fd92a84d8e4
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/quick/designer')
-rw-r--r-- | src/quick/designer/qquickdesignersupport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/designer/qquickdesignersupport.cpp b/src/quick/designer/qquickdesignersupport.cpp index 48b6b9733b..a2820fbba2 100644 --- a/src/quick/designer/qquickdesignersupport.cpp +++ b/src/quick/designer/qquickdesignersupport.cpp @@ -97,7 +97,7 @@ void QQuickDesignerSupport::refFromEffectItem(QQuickItem *referencedItem, bool h texture->setSize(itemSize.toSize()); texture->setRecursive(true); #if QT_CONFIG(opengl) -#ifndef QT_OPENGL_ES +#if !QT_CONFIG(opengles2) if (QOpenGLContext::openGLModuleType() == QOpenGLContext::LibGL) texture->setFormat(GL_RGBA8); else |