#gui #ffi #qt #ritual

sys qt_ui_tools

Bindings for QtUiTools C++ library

9 unstable releases (3 breaking)

0.5.0 Mar 21, 2020
0.5.0-alpha.2 Mar 17, 2020
0.5.0-alpha.1 Feb 17, 2020
0.4.1 Dec 22, 2019
0.2.2 Jun 12, 2017

#8 in #ritual

Download history 66/week @ 2022-10-08 51/week @ 2022-10-15 37/week @ 2022-10-22 70/week @ 2022-10-29 80/week @ 2022-11-05 53/week @ 2022-11-12 71/week @ 2022-11-19 56/week @ 2022-11-26 45/week @ 2022-12-03 66/week @ 2022-12-10 43/week @ 2022-12-17 53/week @ 2022-12-24 54/week @ 2022-12-31 40/week @ 2023-01-07 28/week @ 2023-01-14 53/week @ 2023-01-21

182 downloads per month


767K SLoC

Rust 648K SLoC // 0.0% comments C++ 119K SLoC // 0.0% comments


Build Status

ritual allows to use C++ libraries from Rust. It analyzes the C++ API of a library and generates a fully-featured crate that provides convenient (but still unsafe) access to this API.

The main motivation for this project is to provide access to Qt from Rust. Ritual provides large amount of automation, supports incremental runs, and implements compatible API evolution. This is mostly dictated by the huge size of API provided by Qt and significant API differences between Qt versions. However, ritual is designed to be universal and can also be used to easily create bindings for other C++ libraries.

More information is available on rust-qt.github.io:


This project is licensed under either of

at your option.

If you use Qt, you should also take into account Qt licensing.


Contributions are always welcome! You can contribute in different ways:

  • Submit a bug report, a feature request, or an improvement suggestion at the issue tracker;
  • Write a test or an example for a Qt crate (porting examples from the official Qt documentation is a good option);
  • Pick up an issue with help wanted tag.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.