diff options
Diffstat (limited to 'softwarecontext/context.cpp')
-rw-r--r-- | softwarecontext/context.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/softwarecontext/context.cpp b/softwarecontext/context.cpp index 2bf4e7f0fc..1a8b07b1b4 100644 --- a/softwarecontext/context.cpp +++ b/softwarecontext/context.cpp @@ -22,6 +22,7 @@ #include "rectanglenode.h" #include "imagenode.h" +#include "painternode.h" #include "pixmaptexture.h" #include "glyphnode.h" #include "ninepatchnode.h" @@ -141,6 +142,11 @@ QSGImageNode *Context::createImageNode() return new ImageNode(); } +QSGPainterNode *Context::createPainterNode(QQuickPaintedItem *item) +{ + return new PainterNode(item); +} + QSGGlyphNode *Context::createGlyphNode(QSGRenderContext *rc, bool preferNativeGlyphNode) { Q_UNUSED(rc); |