[Qt-interest] Using Qt in a shared library

Murphy, Sean M. sean.murphy at gd-ais.com
Thu May 7 21:20:25 CEST 2009


> > Yep, works pretty well!  The only downside is that the Qt GUI is a
bit
> > sluggish.  It appears that Callback() gets called at about 2-4 Hz,
so
> > there is a noticeable lag between typing/clicking and the Qt
repaint,
> > but I don't think there's really too much I can do about it - unless
I
> > try putting all the Qt stuff in a separate thread.
> >
> > Ironically, I had actually put the qApp->processEvents() line in
last
> > night, but didn't get a chance to test it.  I tried to test, but I
was
> > connected to the Linux box over Exceed which I can't seem to get to
pass
> > OpenGL calls back to my Windows box.  Since the real application
uses
> > OpenGL, it refused to start and exited with a "requested OpenGL
> > extension not available" error.  At that point, I had been beating
my
> > head against this problem for a couple of hours and decided to call
it a
> > day.  Then when I came in this morning, I wrote the note to
qt-interest,
> > forgetting that I had a version that I hadn't tested yet!
> 
> Don't for get to call proessPostedEvents as well

I don't see a call by that name anywhere (I assume you meant something
like processPostedEvents()?).  I'm currently using Qt 4.4.2 for this
project.

Sean




More information about the Qt-interest-old mailing list