From d64503bbdc62bb1839ddfe3e5f5813e406eafaaa Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Wed, 17 Aug 2016 09:43:21 +0200 Subject: Make Sprite a configurable feature Change-Id: Iab5c5261cb3cdce3d02fa6cd19ae6f594b6fc649 Reviewed-by: Oswald Buddenhagen Reviewed-by: Simon Hausmann --- src/quick/scenegraph/qsgdefaultcontext.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/quick/scenegraph/qsgdefaultcontext.cpp') diff --git a/src/quick/scenegraph/qsgdefaultcontext.cpp b/src/quick/scenegraph/qsgdefaultcontext.cpp index 6964b74dc8..405f1d86a4 100644 --- a/src/quick/scenegraph/qsgdefaultcontext.cpp +++ b/src/quick/scenegraph/qsgdefaultcontext.cpp @@ -52,7 +52,9 @@ #include #include #include +#if QT_CONFIG(quick_sprite) #include +#endif #include #include @@ -258,10 +260,12 @@ QSGNinePatchNode *QSGDefaultContext::createNinePatchNode() return new QSGDefaultNinePatchNode; } +#if QT_CONFIG(quick_sprite) QSGSpriteNode *QSGDefaultContext::createSpriteNode() { return new QSGDefaultSpriteNode; } +#endif QSGRendererInterface::GraphicsApi QSGDefaultContext::graphicsApi() const { -- cgit v1.2.3