ritual
ritual copied to clipboard
Use C++ libraries from Rust
Can you provide an example or docs for extending a Qt class? E.g. A simple example that extends `qt_widgets::main_window::MainWindow` and overrides [`closeEvent`](http://doc.qt.io/qt-5/qwidget.html#closeEvent)? This is commonly needed to intercept closing of...
Let's have a C++ class that can be subclassed: ``` class Example { public: Example(int x); virtual ~Example(); virtual int vfunc2(double y); protected: void func1(); }; ``` First, we create...
The generator can say which documentation entries were left unused. It currently generates too much noise, but it can be reduced. - Filter out tutorials (or at least anything that...
`QObject` subclasses can have custom properties, but I'm not sure it needs to be doable from Rust.
- Check parsing C++ documentation for fields - Generate appropriate text in rustdoc
Passing exceptions and panics through FFI boundary is forbidden. It's probably best to wrap all C++ calls to try/catch and all Rust lambda calls to catch_unwind, and terminate the process...
Dealing with C++ code that uses networking on OSX invariably includes headers like `sys/_pthread/_pthread_types.h` which are full of structs with constant array members. C++ objects with fields that are (eventually)...
I would like to bind to KF5GuiAddons, which is only exposed as a cmake Find module. It looks to me that the infrastructure for `qt_ritual_build`, e.g. is hardcoded to only...