[eq-dev] problem when integrate into QT

Stefan Eilemann eilemann at gmail.com
Mon Nov 30 09:16:58 CET 2009


Aren, Marc,

Robert Hauck (Bcc'ed to this email) is working on a Qt/Eq Hello-World example, based on Marc's work. This one will use one mainloop (from Qt). Hopefully this example will be done by the end of the year.


Cheers,

Stefan.

On 28. Nov 2009, at 16:39, m0bl0 wrote:

> 
> 
> 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.
> 
> _______________________________________________
> eq-dev mailing list
> eq-dev at equalizergraphics.com
> http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
> http://www.equalizergraphics.com

-- 
http://www.eyescale.ch
http://www.equalizergraphics.com
http://www.linkedin.com/in/eilemann






More information about the eq-dev mailing list