All Projects → peper0 → qtasio

peper0 / qtasio

Licence: MIT License
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.

Programming Languages

C++
36643 projects - #6 most used programming language
prolog
421 projects

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].