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

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to