offscreen: remove false condition
This plugin does not use any XCB libs. This patch amendsbb1094a4f06fb8and744be250bfChange-Id: I33e2647ace3d9f32a420551b3b198e33a182a06f Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
parent
1c55948ee8
commit
3d7616a316
|
|
@ -17,7 +17,7 @@ HEADERS = qoffscreenintegration.h \
|
|||
|
||||
OTHER_FILES += offscreen.json
|
||||
|
||||
qtConfig(system-xcb):qtConfig(xlib):qtConfig(opengl):!qtConfig(opengles2) {
|
||||
qtConfig(xlib):qtConfig(opengl):!qtConfig(opengles2) {
|
||||
SOURCES += qoffscreenintegration_x11.cpp
|
||||
HEADERS += qoffscreenintegration_x11.h
|
||||
QT += glx_support-private
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@
|
|||
|
||||
#include <qpa/qplatformservices.h>
|
||||
|
||||
#if QT_CONFIG(system_xcb) && QT_CONFIG(xlib) && QT_CONFIG(opengl) && !QT_CONFIG(opengles2)
|
||||
#if QT_CONFIG(xlib) && QT_CONFIG(opengl) && !QT_CONFIG(opengles2)
|
||||
#include "qoffscreenintegration_x11.h"
|
||||
#endif
|
||||
|
||||
|
|
@ -225,7 +225,7 @@ QPlatformServices *QOffscreenIntegration::services() const
|
|||
|
||||
QOffscreenIntegration *QOffscreenIntegration::createOffscreenIntegration()
|
||||
{
|
||||
#if QT_CONFIG(system_xcb) && QT_CONFIG(xlib) && QT_CONFIG(opengl) && !QT_CONFIG(opengles2)
|
||||
#if QT_CONFIG(xlib) && QT_CONFIG(opengl) && !QT_CONFIG(opengles2)
|
||||
QByteArray glx = qgetenv("QT_QPA_OFFSCREEN_NO_GLX");
|
||||
if (glx.isEmpty())
|
||||
return new QOffscreenX11Integration;
|
||||
|
|
|
|||
Loading…
Reference in New Issue