diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2016-02-12 15:32:08 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2016-02-12 19:45:45 +0000 |
commit | b6ff963362955f63ca35daa0268d8fde93229997 (patch) | |
tree | 764b3b8d6e9e3407ea6f7e5b6af1b005f9308ded | |
parent | 707e6f528fc79db236d282e7ea41eb952c825433 (diff) |
Revert "Build (and fail) Quick with -no-opengl"
This reverts commit 707e6f528fc79db236d282e7ea41eb952c825433.
We will not pursue this route for the time being.
Change-Id: Idd1fce362440f6bf1b58901a289843fdfb39a5b7
Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
-rw-r--r-- | examples/quick/quick.pro | 69 | ||||
-rw-r--r-- | src/imports/imports.pro | 10 | ||||
-rw-r--r-- | src/quick/scenegraph/coreapi/qsggeometry.cpp | 3 | ||||
-rw-r--r-- | src/quick/scenegraph/qsgdefaultglyphnode_p.cpp | 3 | ||||
-rw-r--r-- | src/quick/scenegraph/util/qsgdefaultpainternode.cpp | 7 | ||||
-rw-r--r-- | src/quick/scenegraph/util/qsgdepthstencilbuffer_p.h | 5 | ||||
-rw-r--r-- | src/src.pro | 14 | ||||
-rw-r--r-- | tests/auto/auto.pro | 21 |
8 files changed, 51 insertions, 81 deletions
diff --git a/examples/quick/quick.pro b/examples/quick/quick.pro index 591e4042a1..c5ef46173c 100644 --- a/examples/quick/quick.pro +++ b/examples/quick/quick.pro @@ -1,39 +1,36 @@ TEMPLATE = subdirs +SUBDIRS = quick-accessibility \ + animation \ + draganddrop \ + externaldraganddrop \ + canvas \ + imageelements \ + keyinteraction \ + localstorage \ + models \ + views \ + mousearea \ + positioners \ + righttoleft \ + scenegraph \ + shadereffects \ + text \ + threading \ + touchinteraction \ + tutorials \ + customitems \ + imageprovider \ + imageresponseprovider \ + window \ + particles \ + demos \ + rendercontrol -contains(QT_CONFIG, opengl(es1|es2)?) { - SUBDIRS = quick-accessibility \ - animation \ - draganddrop \ - externaldraganddrop \ - canvas \ - imageelements \ - keyinteraction \ - localstorage \ - models \ - views \ - mousearea \ - positioners \ - righttoleft \ - scenegraph \ - shadereffects \ - text \ - threading \ - touchinteraction \ - tutorials \ - customitems \ - imageprovider \ - imageresponseprovider \ - window \ - particles \ - demos \ - rendercontrol - - # Widget dependent examples - qtHaveModule(widgets) { - SUBDIRS += embeddedinwidgets - qtHaveModule(quickwidgets): SUBDIRS += quickwidgets - } - - EXAMPLE_FILES = \ - shared +# Widget dependent examples +qtHaveModule(widgets) { + SUBDIRS += embeddedinwidgets + qtHaveModule(quickwidgets): SUBDIRS += quickwidgets } + +EXAMPLE_FILES = \ + shared diff --git a/src/imports/imports.pro b/src/imports/imports.pro index 528269e0f6..f7002f9ed5 100644 --- a/src/imports/imports.pro +++ b/src/imports/imports.pro @@ -11,13 +11,9 @@ SUBDIRS += \ qtHaveModule(quick) { SUBDIRS += \ qtquick2 \ - window - - contains(QT_CONFIG, opengl(es1|es2)?) { - SUBDIRS += \ - particles \ - testlib - } + particles \ + window \ + testlib } qtHaveModule(xmlpatterns) : SUBDIRS += xmllistmodel diff --git a/src/quick/scenegraph/coreapi/qsggeometry.cpp b/src/quick/scenegraph/coreapi/qsggeometry.cpp index cbc5f86527..5012f6a31b 100644 --- a/src/quick/scenegraph/coreapi/qsggeometry.cpp +++ b/src/quick/scenegraph/coreapi/qsggeometry.cpp @@ -42,10 +42,7 @@ #include <qopenglcontext.h> #include <qopenglfunctions.h> - -#ifndef QT_NO_OPENGL #include <private/qopenglextensions_p.h> -#endif #ifdef Q_OS_QNX #include <malloc.h> diff --git a/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp b/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp index ada358f02d..78b803df83 100644 --- a/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp +++ b/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp @@ -45,10 +45,7 @@ #include <QtGui/private/qguiapplication_p.h> #include <qpa/qplatformintegration.h> #include <private/qfontengine_p.h> - -#ifndef QT_NO_OPENGL #include <private/qopenglextensions_p.h> -#endif #include <QtQuick/qquickwindow.h> #include <QtQuick/private/qsgtexture_p.h> diff --git a/src/quick/scenegraph/util/qsgdefaultpainternode.cpp b/src/quick/scenegraph/util/qsgdefaultpainternode.cpp index 925f3b5b9f..2deb993a6e 100644 --- a/src/quick/scenegraph/util/qsgdefaultpainternode.cpp +++ b/src/quick/scenegraph/util/qsgdefaultpainternode.cpp @@ -42,18 +42,13 @@ #include <QtQuick/private/qquickpainteditem_p.h> #include <QtQuick/private/qsgcontext_p.h> - +#include <private/qopenglextensions_p.h> #include <qopenglframebufferobject.h> #include <qopenglfunctions.h> #include <qopenglpaintdevice.h> - #include <qmath.h> #include <qpainter.h> -#ifndef QT_NO_OPENGL -#include <private/qopenglextensions_p.h> -#endif - QT_BEGIN_NAMESPACE #define QT_MINIMUM_DYNAMIC_FBO_SIZE 64U diff --git a/src/quick/scenegraph/util/qsgdepthstencilbuffer_p.h b/src/quick/scenegraph/util/qsgdepthstencilbuffer_p.h index 13a2803c30..c2d0590532 100644 --- a/src/quick/scenegraph/util/qsgdepthstencilbuffer_p.h +++ b/src/quick/scenegraph/util/qsgdepthstencilbuffer_p.h @@ -53,13 +53,10 @@ #include <QtCore/qsize.h> #include <QtGui/private/qopenglcontext_p.h> +#include <QtGui/private/qopenglextensions_p.h> #include <QtCore/qsharedpointer.h> #include <QtCore/qhash.h> -#ifndef QT_NO_OPENGL -#include <QtGui/private/qopenglextensions_p.h> -#endif - QT_BEGIN_NAMESPACE class QSGDepthStencilBufferManager; diff --git a/src/src.pro b/src/src.pro index f34e9cda9f..385e4eb601 100644 --- a/src/src.pro +++ b/src/src.pro @@ -3,17 +3,13 @@ CONFIG += ordered SUBDIRS += \ qml -qtHaveModule(gui) { +qtHaveModule(gui):contains(QT_CONFIG, opengl(es1|es2)?) { SUBDIRS += \ - quick + quick \ + qmltest \ + particles - contains(QT_CONFIG, opengl(es1|es2)?) { - SUBDIRS += \ - qmltest \ - particles - - qtHaveModule(widgets): SUBDIRS += quickwidgets - } + qtHaveModule(widgets): SUBDIRS += quickwidgets } SUBDIRS += \ diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro index cf3da263ca..425e88b983 100644 --- a/tests/auto/auto.pro +++ b/tests/auto/auto.pro @@ -1,20 +1,15 @@ TEMPLATE=subdirs - -SUBDIRS = \ +SUBDIRS=\ + qml \ + quick \ + particles \ + qmltest \ + qmldevtools \ cmake \ installed_cmake \ - qmldevtools - -qtHaveModule(quick):contains(QT_CONFIG, opengl(es1|es2)?) { - SUBDIRS += \ - qml \ - quick \ - particles \ - qmltest \ - toolsupport + toolsupport - qtHaveModule(widgets): SUBDIRS += quickwidgets -} +qtHaveModule(widgets): SUBDIRS += quickwidgets qmldevtools.CONFIG = host_build |