Manual Reference Pages - ANYEVENT::IMPL::QT (3)
AnyEvent::Impl::Qt - AnyEvent adaptor for Qt
my $app = Qt::Application \@ARGV; # REQUIRED!
# this module gets loaded automatically as required
This module provides transparent support for AnyEvent. You dont have
to do anything to make Qt work with AnyEvent except by loading Qt
before creating the first AnyEvent watcher and instantiating the
Qt::Application object. Failure to do so will result in segfaults,
which is why this model doesnt work as a default model and will not be
autoprobed (but it will be autodetected when the main program uses Qt).
Qt suffers from the same limitations as Event::Lib and Tk, the workaround
is also the same (duplicating file descriptors).
Qt doesnt support idle events, so they are being emulated.
Avoid Qt if you can.
Marc Lehmann <email@example.com>
|perl v5.20.3 ||ANYEVENT::IMPL::QT (3) ||2012-04-08 |
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.