From c021e4b412e1e2977f4c7cf390cee4699b80e67e Mon Sep 17 00:00:00 2001 From: Paul Olav Tvete Date: Mon, 13 Mar 2017 12:09:13 +0100 Subject: Build fix for configure -no-opengl Change-Id: I21f111a04d9e2ce367d7677dbb48abbd591a4e71 Reviewed-by: Shawn Rutledge Reviewed-by: Joni Poikelin Reviewed-by: Lars Knoll --- src/quick/items/qquickshadereffect_p.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/quick/items/qquickshadereffect_p.h') diff --git a/src/quick/items/qquickshadereffect_p.h b/src/quick/items/qquickshadereffect_p.h index d269dc5e50..30bd018098 100644 --- a/src/quick/items/qquickshadereffect_p.h +++ b/src/quick/items/qquickshadereffect_p.h @@ -117,7 +117,9 @@ public: bool isComponentComplete() const; QString parseLog(); +#if QT_CONFIG(opengl) bool isOpenGLShaderEffect() const; +#endif Q_SIGNALS: void fragmentShaderChanged(); -- cgit v1.2.3