multi scenes
-
Hi,
What kind of scene are you talking about ?
-
I would like to create 2 scenes something simple like this:
https://drive.google.com/file/d/1SbbpP0jVABAugxRtqfTOrSH2p90Mm79M/view?usp=sharing
thanks
-
The scene related classes will likely be what you want to show your instruments..
-
That as not much to do with your .pro file. It’s your application that is responsible ton handle multiple scenes.
-
I found a Qt code snippet related to my simple problem:
- scene1 -> addItem (theQGraphicsItem);
- scene2 -> addItem (theQGraphicsItem);
I then understood that it is necessary to use different pointers scene1 and scene2.
My question:
what kind of pointers are these?
they are declared in which function, in which class?NB: the moderators are not very explicit!
-
Before dimming your problem simple, you might want to consider providing a more thorough description of what exactly you want to achieve. Using a framework where you can do 2D/3D rendering with raw OpenGL or more sophisticated high level classes as well as video rendering, asking how to show a 2D/3D scene is not exactly the same as asking how to show two videos showing 2D/3D scenes.
Therefore, can you explain exactly what your application is about and what exactly you are trying to show ?
On a side note, criticising all the moderators when only one of them answered you, trying to help you with the limited information you gave, isn't really a good attitude.