Segment Fault In Deploy For Q3DScatter [Windows]
-
I find a official example of Q3DScatter. It works well in IDE development. However, I run
windeployqt6.exe untitled.exeAnd copy lots and creates lots such .dll files. Or it will crash with message cannot find some qt dll.
And after execute this, everything is just crash. I return to Qt Creator, and I find it is crash in following line:
scatter.addSeries(series);I upload it all in github: test_3ds_bugs.7z
How can resolve this? It may be good event that It can work like in a deployed product.
Thanks!
Qt is a create job!
-
I find a official example of Q3DScatter. It works well in IDE development. However, I run
windeployqt6.exe untitled.exeAnd copy lots and creates lots such .dll files. Or it will crash with message cannot find some qt dll.
And after execute this, everything is just crash. I return to Qt Creator, and I find it is crash in following line:
scatter.addSeries(series);I upload it all in github: test_3ds_bugs.7z
How can resolve this? It may be good event that It can work like in a deployed product.
Thanks!
Qt is a create job!
@ltaoist said in Segment Fault In Deploy For Q3DScatter [Windows]:
How can resolve this?
Provide the stack trace after that crash.
-
I upload it all in github: test_3ds_bugs.7z
-
I upload it all in github: test_3ds_bugs.7z
-

I dont know what trace stack you need, I guess it is these.
====================================
Its source is about 40kb. Actually is not new code. It is a project copy code from doc.qt.io, as follow:
#include <QtGraphs> int main(int argc, char **argv) { QApplication app(argc, argv); Q3DScatter scatter; scatter.setMinimumSize(QSize(256, 256)); scatter.setResizeMode(QQuickWidget::SizeRootObjectToView); QScatter3DSeries *series = new QScatter3DSeries; QScatterDataArray data; data << QVector3D(0.5f, 0.5f, 0.5f) << QVector3D(-0.3f, -0.5f, -0.4f) << QVector3D(0.0f, -0.3f, 0.2f); series->dataProxy()->addItems(data); scatter.addSeries(series); scatter.show(); return app.exec(); }The point is that is raising segment fault after run "windeployqt6.exe" for it
Thanks!