May it come from the fact that we force Qt to use OpenGL and remove multi-threaded scene graph?
qputenv("QML_FORCE_THREADED_RENDERER", "0"); qputenv("QML_BAD_GUI_RENDER_LOOP", "1"); qputenv("QSG_RENDER_LOOP", "basic"); QGuiApplication::setAttribute(Qt::AA_UseDesktopOpenGL, true); 2016-03-26 23:39 GMT+01:00 Xavier Bigand <flamaros.xav...@gmail.com>: > I am getting curious errors in the console : > > ASSERT failure in QVector<T>::at: "index out of range", file > c:\Users\qt\work\install\include/QtCore/qvector.h, > line 419 > > ASSERT failure in QVector<T>::at: "index out of range", file > c:\Users\qt\work\install\include/QtCore/qvector.h, > line 419 > > ASSERT failure in QVector<T>::at: "index out of range", file > c:\Users\qt\work\install\include/QtCore/qvector.h, > line 419 > > ASSERT failure in QVector<T>::at: "index out of range", file > c:\Users\qt\work\install\include/QtCore/qvector.h, > line 419 > > Invalid parameter passed to C runtime function. > > Invalid parameter passed to C runtime function. > > Invalid parameter passed to C runtime function. > > Invalid parameter passed to C runtime function. > > Invalid parameter passed to C runtime function. > > Invalid parameter passed to C runtime function. > > Invalid parameter passed to C runtime function. > > Invalid parameter passed to C runtime function. > > > > > > 2016-03-26 23:07 GMT+01:00 Xavier Bigand <flamaros.xav...@gmail.com>: > >> Hi, >> >> I am creating a mesh empty and try to update it later, I don't understand >> why it crash. >> >> The crash happens in Qt3DCore::QBackendNode. >> >> I update the mesh by calling setData on the vertexBuffer and setCount on >> the corresponding attributs. I do the same for the indexBuffer. >> >> May I do something wrong? >> >> >> -- >> Xavier >> > > > > -- > Xavier > -- Xavier
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest