aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickshapes
diff options
context:
space:
mode:
authorKarim Pinter <karim.pinter@qt.io>2020-01-16 15:16:07 +0200
committerAndy Shaw <andy.shaw@qt.io>2020-01-22 07:41:49 +0000
commit39c614bed375d67f796d1519ebd2997060f81a0b (patch)
tree2c00363295abe47ad02cac372ec05fca1f045bcf /src/quickshapes
parent5e1cbbe0b9f68c441a3cb1b22594b88763075f4e (diff)
Remove shadereffect dependency from shapes
Uses wavefrontmesh only if the shadereffect feature is there. Path doesn't need to depend on shadereffect feature only on gui module. The shape also missed a sgtexture header. Fixes: QTBUG-81296 Change-Id: I78425ef8a09226b99e9b9f6010dda9dac9009fe5 Reviewed-by: Andy Shaw <andy.shaw@qt.io> Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/quickshapes')
-rw-r--r--src/quickshapes/qquickshapegenericrenderer_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quickshapes/qquickshapegenericrenderer_p.h b/src/quickshapes/qquickshapegenericrenderer_p.h
index 4590c662c1..75c4277383 100644
--- a/src/quickshapes/qquickshapegenericrenderer_p.h
+++ b/src/quickshapes/qquickshapegenericrenderer_p.h
@@ -57,6 +57,7 @@
#include <qsggeometry.h>
#include <qsgmaterial.h>
#include <qsgrendererinterface.h>
+#include <qsgtexture.h>
#include <QtCore/qrunnable.h>
QT_BEGIN_NAMESPACE