[eq-dev] problem when integrate into QT
m0bl0
treib at in.tum.de
Sat Nov 28 16:39:25 CET 2009
Aren wrote:
>
> I want equalizer render in this QGLwidget(there's only one window in my
> config file), so I simply send it's HWND to equalizer without create a new
> WGLWindow in configInitWGLWindow(). It can render,but when I click or move
> the window or do some event, it's just stucked. I thought it's thread
> problem, so I change it to render in a separate thread. This time, it's ok
> when click or move window, but the render window can't react like eqPly's
> event handler, and when resizing window, it's just broken.
> what do I miss?How to deal with event handling?
>
Your event handling problems occur because Qt uses its own event dispatch,
so Eq doesn't receive any events from Windows. I don't think you can disable
this behavior in Qt, so the only option is to manually forward events from
Qt to Eq. You might want to have a look at
http://eqqt.sourceforge.net/
(svn at https://eqqt.svn.sourceforge.net/svnroot/eqqt/trunk),
which is my attempt at an Eq-Qt integration. It contains a "hello world"
example application.
HTH,
Marc
--
View this message in context: http://n2.nabble.com/problem-when-integrate-into-QT-tp4078219p4079765.html
Sent from the Equalizer - Parallel Rendering mailing list archive at Nabble.com.
More information about the eq-dev
mailing list