1AnyEvent::Impl::Qt(3) User Contributed Perl DocumentationAnyEvent::Impl::Qt(3)
2
3
4

NAME

6       AnyEvent::Impl::Qt - AnyEvent adaptor for Qt
7

SYNOPSIS

9          use AnyEvent;
10          use Qt;
11
12          my $app = Qt::Application \@ARGV; # REQUIRED!
13
14          # this module gets loaded automatically as required
15

DESCRIPTION

17       This module provides transparent support for AnyEvent. You don't have
18       to do anything to make Qt work with AnyEvent except by loading Qt
19       before creating the first AnyEvent watcher and instantiating the
20       Qt::Application object. Failure to do so will result in segfaults,
21       which is why this model doesn't work as a default model and will not be
22       autoprobed (but it will be autodetected when the main program uses Qt).
23
24       Qt suffers from the same limitations as Event::Lib and Tk, the
25       workaround is also the same (duplicating file descriptors).
26
27       Qt doesn't support idle events, so they are being emulated.
28
29       Avoid Qt if you can.
30

SEE ALSO

32       AnyEvent, Qt.
33

AUTHOR

35          Marc Lehmann <schmorp@schmorp.de>
36          http://anyevent.schmorp.de
37
38
39
40perl v5.34.0                      2022-01-20             AnyEvent::Impl::Qt(3)
Impressum