Im working on an OpenGL application on OS X and running into it. The application uses a simple QTabWidget to collect data, which is then displayed on the last tab through the OpenGL view. Everything works fine on Linux, where I usually develop, but compile on Mac. I get really weird behavior.
Ive created a minimal working example here that shows the weird behavior I get on a Mac.
In short, when a user goes through each tab and gets to the last OpenGL view, everything gets scared. Gui elements disappear, mouse events are sent to the wrong tab, and the OpenGL view usually does not respond. I tried many approaches to try to fix this, or at least get around it, but with no luck. And there seems to be little information on the Internet about related matters or not.
I tried Qt5.0.2 and Qt5.1.0 with the same result and compiling on OS X 10.8.
I would be grateful for any help I could get in this matter, the correction would be amazing, the alternative solution would be equally perfect.
source share