In a 3D CAD program a friend and I are doing, the adding of a QWebEngineView is slowing down a QGraphicsScene.
We create a 3D model layer by layer, we place points in each layer in 2D (the points are painted by the QGraphicsScene), and then, using a QWebEngineView, we display the model in 3D using WebGL (so basically, we transform the 2D points in 3D spheres).
Before creating the QWebEngineView, we can smoothly move a set of points aroud the screen in the QGraphicsScene, but after the creation, it slows down and is not smooth anymore (2 to 3 times slower).
First we thought it was coming from webGL, we switched the URL of the page to Google. It is as slow as before.
Then, we tried to delete the QWebEngineView before going back to the QGraphicsScene and move points again. It is as slow as before, even if the QGraphicsScene does not exist anymore.
The question is, if the QWebEngingeView is destroyed, why is the QGraphicsScene not going as fast as before creating the QWebEngineView ? Do you know how to have both running smoothly ? Or a least get the QGraphicsScene as fast as before creating the QWebEngineView ?
Note : We code on Linux Mint, C++, Qt 5.6