Problems with Open-Source Downloads read https://www.qt.io/blog/problem-with-open-source-downloads and https://forum.qt.io/post/638946
Unknown type name 'Q3DScatter'
I want to create app solving Lorenz Attractor.
In left window (QGraphicsView) i would like to have 3DScatter plot.
I am trying to utilize example https://doc.qt.io/qt-5.11/qtdatavisualization-scatter-example.html, but I fail on first step:
Q3DScatter *graph = new Q3DScatter();
Editor says Unknown type name 'Q3DScatter'.
I have tried
but nothing helped.
I can compile and run example https://doc.qt.io/qt-5.11/qtdatavisualization-scatter-example.html without problems.
Can someone give me a hint? Thank you in advance.
I forget to note that I am using MacOS Mojave 10.14 and I have Qt 5.9 (I need this version because of compatibility with school server)
You need to add
QT += datavisualization
to .pro and rerun qmake
@mrjj it seems it helped. Thank you :)