From 9f3a54bbb9e314f20867fa5e980b796d17b356a2 Mon Sep 17 00:00:00 2001 From: peri4 Date: Wed, 1 Nov 2023 21:02:29 +0300 Subject: [PATCH] adopt for Qt6 --- libs/graphic3d/scatter3d.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/graphic3d/scatter3d.h b/libs/graphic3d/scatter3d.h index d1fc734..ba491ff 100644 --- a/libs/graphic3d/scatter3d.h +++ b/libs/graphic3d/scatter3d.h @@ -105,7 +105,11 @@ private: }; QWidget * container; +#if QT_VERSION_MAJOR == 5 + QtDataVisualization::Q3DScatter * canvas; +#else Q3DScatter * canvas; +#endif QVector graphics; int curGraphic;