adding a qt3d scene to graphicsview

Hello, I have a cubeview (qt3d scene ) object view. I want to display it in the graphicsView pane of the main window.
1
2
3
4
5
6
7
8
9
10
  void MainWindow::on_pushButton_clicked()
{
     if(view==NULL)
    {
        view=new CubeView;
        view->begin(4,0);
        view->resize(800, 600);
        view->show();
    }
}


Instead of using view->show, I want to show it in the graphicsView space. The graphicsView object is in added in my UI file. How do I add the view->show item into the graphicsView item.
Maybe post your question on qt-forum.

And btw qt is not that good on windows. I tried it and now I know that WinApi is the best. If you know how to use it it gives you a lot of options, it's super fast, it's light and it's the lowwest interaction with the system. It's not that hard to. For example what does it mean -> "LPCWSTR"? It's long pointer to constans wchar_t string. So it's the same thing as "const wchar_t*".
Topic archived. No new replies allowed.