can Surface3D convert to Q3DSurface ?
-
Using the 'Qt Quick 2 Oscilloscope Example' example, I know that I can convert Surface3DSeries in QML to QSurface3DSeries in C++.
However, my attempt to convert Surface3D in QML to Q3DSurface in C++ failed."Could not convert argument 0 at" "Passing incompatible arguments to C++ functions from JavaScript is dangerous and deprecated."I have added Q_DECLARE_METATYPE(Q3DSurface *) and qRegisterMetaType<Q3DSurface *>() to the code.
I'm using Qt v5.15.2.。