rust-qt / ritual

Use C++ libraries from Rust
Apache License 2.0
1.22k stars 49 forks source link

Example of integrating custom qt class #96

Open jlgerber opened 4 years ago

jlgerber commented 4 years ago

Would it be possible to provide an example of deploying custom qt code via ritual? EG say i want to implement a custom class inheriting from QSortFilterProxyModel on the c++ side and integrate it into a rust-qt project. What is involved?. Maybe just create a project illustrating what is involved?

Riateche commented 4 years ago

It would involve running the whole ritual pipeline on your custom C++ code, but it's definitely possible. The setup is not trivial, though. I hope we'll eventually make it easier and create an example.

jlgerber commented 4 years ago

Are you aware of any projects that could serve as an example?