I am about to complete my first ever game. I have used Qt for windowing and OpenGL for actual game logic. I am confused about .. things which are related to design so according to FAQ, these kinda questions are valid. So from the past experience, people who are more interested in deciding what others should ask here and what should not, are taken care of.
(1) With Qt, How to go about connecting pieces? The very first thing comes to my mind is ==> create a screen having few images(carttons) on it, start some music loop, give few buttons; and upon button click event, create OpenGL context and handle the control to it.
But I doubt if this is the way it is done. I tried reading few forum posts but some were either not relevant and others were too complex
(2) And about exiting the game. Is it wise to have OpenGL context kept as it is; and upon reply, use that context to restart a game? Or will it be harmful in any way?
I understand that these questions would not have definite answers, but others suggestions, who have experienced and did these things, can definitely help me in going ahead.