From 081d183d42bac4c939e84615b977ce8b151dd68a Mon Sep 17 00:00:00 2001 From: Giuseppe D'Angelo Date: Tue, 10 Feb 2015 10:44:50 +0100 Subject: [PATCH] QOpenGLTexture: enable build on Windows CE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The various refactorings to this code allow it compile and work on Windows CE, so we can enable the build there. Change-Id: I8ac56e87dca13790a76f125330a5400e4b4f5d46 Reviewed-by: Laszlo Agocs Reviewed-by: Björn Breitmeyer --- src/gui/opengl/opengl.pri | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/src/gui/opengl/opengl.pri b/src/gui/opengl/opengl.pri index c78485277f4..8659bd6deac 100644 --- a/src/gui/opengl/opengl.pri +++ b/src/gui/opengl/opengl.pri @@ -32,7 +32,11 @@ contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles2) { opengl/qopenglversionfunctionsfactory_p.h \ opengl/qopenglvertexarrayobject.h \ opengl/qopengldebug.h \ - opengl/qopengltextureblitter_p.h + opengl/qopengltextureblitter_p.h \ + opengl/qopengltexture.h \ + opengl/qopengltexture_p.h \ + opengl/qopengltexturehelper_p.h \ + opengl/qopenglpixeltransferoptions.h SOURCES += opengl/qopengl.cpp \ opengl/qopenglfunctions.cpp \ @@ -53,18 +57,10 @@ contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles2) { opengl/qopenglversionfunctionsfactory.cpp \ opengl/qopenglvertexarrayobject.cpp \ opengl/qopengldebug.cpp \ - opengl/qopengltextureblitter.cpp - - !wince* { - HEADERS += opengl/qopengltexture.h \ - opengl/qopengltexture_p.h \ - opengl/qopengltexturehelper_p.h \ - opengl/qopenglpixeltransferoptions.h - - SOURCES += opengl/qopengltexture.cpp \ - opengl/qopengltexturehelper.cpp \ - opengl/qopenglpixeltransferoptions.cpp - } + opengl/qopengltextureblitter.cpp \ + opengl/qopengltexture.cpp \ + opengl/qopengltexturehelper.cpp \ + opengl/qopenglpixeltransferoptions.cpp !contains(QT_CONFIG, opengles2) { HEADERS += opengl/qopenglfunctions_1_0.h \