Qt-jambi-interest Archive, October 2007
openGL heavyweight/lightweight problem?
Message 1 in thread
Hi all,
I have some experience with the pains of using JOGL heavyweight
components in Swing. This is the infamous heavyweight/lightweight
overlapping windows problem with Swing.
My question for this forum is:
Is it possible (even easy?) with JAMBI to create an MDI application with
overlapping openGL based windows and not suffer the same issues as above?
Mark
--
[ signature omitted ]
Message 2 in thread
Mark Thompson wrote:
> Hi all,
>
> I have some experience with the pains of using JOGL heavyweight
> components in Swing. This is the infamous heavyweight/lightweight
> overlapping windows problem with Swing.
>
> My question for this forum is:
>
> Is it possible (even easy?) with JAMBI to create an MDI application with
> overlapping openGL based windows and not suffer the same issues as above?
Hi Mark,
There is already an openGL example using JOGL in the package, but its
not precompiled. Qt is heavyweight, meaning that it uses native window
handles, so mixing a GL view into a Qt app is just like mixing in any
other component, at least in theory... There are some strange drivers
out there... So the answer is yes. It is possible and its just like
putting any other widget into an MDI app.
Qt is moving away from heavyweight controls, but we have to make
absolutely sure that mixing in native controls still work, and GL
widgets will always be native controls.
-
Gunnar