logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

AnyEvent::Impl::Qt - AnyEvent adaptor for Qt

Author

          Marc Lehmann <schmorp@schmorp.de>
          http://anyevent.schmorp.de

perl v5.40.0                                       2024-10-20                            AnyEvent::Impl::Qt(3pm)

Description

       This module provides transparent support for AnyEvent. You don't have to do anything to make Qt work with
       AnyEvent except by loading Qt before creating the first AnyEvent watcher andinstantiatingtheQt::Applicationobject. Failure to do so will result in segfaults, which is why this model doesn't 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 doesn't support idle events, so they are being emulated.

       Avoid Qt if you can.

Name

       AnyEvent::Impl::Qt - AnyEvent adaptor for Qt

See Also

       AnyEvent, Qt.

Synopsis

          use AnyEvent;
          use Qt;

          my $app = Qt::Application \@ARGV; # REQUIRED!

          # this module gets loaded automatically as required

See Also