[Development] Fwd: [Interest] QAbstractEventDispatcher

Thiago Macieira thiago.macieira at intel.com
Wed Sep 11 16:43:59 CEST 2013


On quarta-feira, 11 de setembro de 2013 11:19:29, Phil Hannent wrote:
> Good morning,
> 
> I am attempting to use a Glib based library with Qt, it works
> perfectly on Linux but on windows the application locks up.
> 
> I have gotten as far as realising that I need to use the
> QAbstractEventDispatcher, that the qeventdispatcher_glib.cpp and
> qeventdispatcher_win.cpp provide good examples.
> 
> It seems to me however that I need most of qeventdispatcher_glib.cpp
> and just to insert the calls required for my library to interact with
> the system. Is that a fair statement or would that be overkill for
> reimplementing my own QEventDispatcher?

You need to write a qeventdispatcher_glib_win.cpp. The one that exists is a 
Unix-only dispatcher. In particular, you need to provide registering of 
Windows events (see QWinEventNotifier).

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130911/dba21016/attachment.sig>


More information about the Development mailing list