Skip to content
forked from peper0/qtasio

Implementation of QAbstractEventDispatcher that makes use of existing boost::asio::io_service object. It effecitvely allows to integrate asio-based asynchronous application with QT and run them in one thread.

License

Notifications You must be signed in to change notification settings

indiosmo/qtasio

 
 

Repository files navigation

qtasio

Implementation of QAbstractEventDispatcher that makes use of existing boost::asio::io_service object. It effecitvely allows to integrate asio-based asynchronous application with QT and run them in one thread.

How to use?

Add qasioeventdispatcher.* to your project. Then add the following line before creating QApplication:

QApplication::setEventDispatcher(new QAsioEventDispatcher(my_io_service));

That's it. QApplication::exec() will run your io_service and use it for own events.

About

Implementation of QAbstractEventDispatcher that makes use of existing boost::asio::io_service object. It effecitvely allows to integrate asio-based asynchronous application with QT and run them in one thread.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 97.4%
  • QMake 2.6%