[Qt-interest] Using Qt in a shared library
Scott Aron Bloom
Scott.Bloom at sabgroup.com
Thu May 7 21:11:19 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!
>
> Thanks!
> Sean
>
> _______________________________________________
Don't for get to call proessPostedEvents as well
Scott
More information about the Qt-interest-old
mailing list