m0bl0 wrote:
> 
> 
> 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
> 
Hi, m0bl0
  Thanks for your Eq-QT example, now I've integrated eqPly example into QT,
but there's a small problem:
when it draws font, it crashed. By follow in, it seems occur in
BitmapFont::_initWGL(),
here's the code:


>     const OSWindow*    osWindow  = window->getOSWindow();
>     const WGLWindowIF* wglWindow = dynamic_cast< const WGLWindowIF*
> >(osWindow);
>     if( !wglWindow )
>     {
>         EQWARN << "Window does not use a WGL window" << endl;
>         return false;
>     }
> 
because we use QTWindowIF, so dynamic_cast to WGLWindowIF failed, and return
false.Then cause other lots of problems.
How to fix it, any suggestion?
Thanks in advanced!
Aren.
-- 
View this message in context: 
http://n2.nabble.com/Re-problem-when-integrate-into-QT-tp4079765p4143470.html
Sent from the Equalizer - Parallel Rendering mailing list archive at Nabble.com.

_______________________________________________
eq-dev mailing list
[email protected]
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com

Reply via email to