Android: Don't depend on the OpenGL module
It is not using this for anything in the code anyway so we can just drop it. This avoids a need to have the platform plugin depend on OpenGL if it is configured to be on. Change-Id: I87de162800be93db00c5022bef85c235b3655528 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: BogDan Vatra <bogdan@kdab.com>
This commit is contained in:
parent
946fc92d20
commit
418901e3f8
@ -60,11 +60,6 @@ qt_internal_add_plugin(QAndroidIntegrationPlugin
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
qt_extend_target(QAndroidIntegrationPlugin CONDITION QT_FEATURE_opengl
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::OpenGLPrivate
|
||||
)
|
||||
|
||||
qt_extend_target(QAndroidIntegrationPlugin CONDITION QT_FEATURE_android_style_assets
|
||||
SOURCES
|
||||
extract.cpp
|
||||
|
@ -69,12 +69,6 @@ qt_internal_add_plugin(QAndroidIntegrationPlugin
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
|
||||
qt_extend_target(QAndroidIntegrationPlugin CONDITION QT_FEATURE_opengl
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::OpenGLPrivate
|
||||
)
|
||||
|
||||
qt_extend_target(QAndroidIntegrationPlugin CONDITION QT_FEATURE_android_style_assets
|
||||
SOURCES
|
||||
extract.cpp
|
||||
|
@ -6,8 +6,6 @@ QT += \
|
||||
core-private gui-private \
|
||||
egl_support-private
|
||||
|
||||
qtConfig(opengl): QT += opengl-private
|
||||
|
||||
OTHER_FILES += $$PWD/android.json
|
||||
|
||||
INCLUDEPATH += \
|
||||
|
@ -43,9 +43,6 @@
|
||||
#include <QtGui/private/qguiapplication_p.h>
|
||||
#include <QGuiApplication>
|
||||
#include <QOpenGLContext>
|
||||
#if QT_CONFIG(opengl)
|
||||
#include <QtOpenGL/qpa/qplatformbackingstoreopenglsupport.h>
|
||||
#endif
|
||||
#include <QOffscreenSurface>
|
||||
#include <QThread>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user