Qyoto – First Experiment
July 18, 2008 | Filed Under Qt4 | No Comments
A little example of Mono, C# and Qt4 (Qyoto).
This examples contains all what you need to starting a little application. QtDesigner, Resources, and Slot handling.
If you’re using Ubuntu, you must install libqyoto4.3-cli and qyoto-dev-tools.
Qt User Interface Compiler (uic) for C# is called uics and (in ubuntu) you can find it here: /usr/lib/kde4/bin/
Qt Resource Compiler (rcc) for C# is called csrcc and is in the same path of uics.
To define Slots you should add attribute [Q_SLOT("slotName()")] on slot Method.
Another thing to remember is that all methods start with Upper case, so you’ve to call textEdit.SetText(”myText”) and not textEdit.setText(”myText”) like in C++.
Source Code of the example could be downloaded from here: QyotoTest