[MonoDevelop] monodevelop and Qt Designer

Lindsay Mathieson Lindsay.Mathieson at gmail.com
Tue Apr 14 20:06:52 EDT 2009


On Wed, 15 Apr 2009 08:28:50 am you wrote:
> Yes, Eric Butler[1] created a project called qyotodevelop[2] to do
> this.  It is used to develop Synapse[3].
>
> [1] http://eric.extremeboredom.net
> [2] http://github.com/FireRabbit/qyotodevelop/tree/master
> [3] http://synapse.im
>
> -- Christian


Ok, I got it working now by building from source.

However it seems to generate code incompatable with the qyoto library in 
jaunty (kde-bindings).

e.g, for a plain main windows with a push button added:

 public partial class MainWindow : QWidget {
    
    protected QPushButton pushButton;
    
    protected void SetupUi() {
        base.ObjectName = "MainWindow";
        this.Geometry = new QRect(0, 0, 400, 300);
        this.WindowTitle = "Hello Qyoto!";
        this.pushButton = new QPushButton(this);
        this.pushButton.ObjectName = "pushButton";
        this.pushButton.Geometry = new QRect(140, 230, 105, 25);
        this.pushButton.Text = "PushButton";
        this.AddWidget(this.pushButton);
        QMetaObject.ConnectSlotsByName(this);
    }
}


[Task:File=/home/lindsay/Projects/mono/QyotoTest3/QyotoTest3/qt-
gui/MainWindow.cs, Line=27, Column=14, Type=Error, Priority=Normal, 
Description=Type `MainWindow' does not contain a definition for `AddWidget' and 
no extension method `AddWidget' of type `MainWindow' could be found (are you 
missing a using directive or an assembly reference?)(CS1061)]

I'm wondering if its because Eric is building his own mono-qt bindings - are 
they a branch of the old defunct qyoto bindings?

There are actively maintained mono bindings for KDE and QT now in kde itself 
(kdebindings) that have diverged from the old defunct qyoto project.

Is this the appropriate list for this discussion? should I take it elsewhere?

Thanks,
-- 
Lindsay
http://blackpaw.jalbum.net/home/



More information about the Monodevelop-list mailing list