[Interest] How can I use Qt5 in my own mainloop?

Thiago Macieira thiago.macieira at intel.com
Mon Sep 29 18:13:13 CEST 2014


On Monday 29 September 2014 10:52:00 POIRIER Mathieu wrote:
> How can i do this in Qt5 ?
> 
> because it seems that QXcbEventReader opens a connection on the same X11
> socket (IN another thread) AND eats every xevents sent, starving my
> connection which receives nothing anymore, and to send them back to it-self
> as PostedEvents !

Don't do you own event loop. Instead, ask Qt for filtering the native events.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list