Tools and libraries to glue C/C++ APIs to high-level languages
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

23 lines
408 B

using System;
using System.Diagnostics;
using Qt.Gui;
using Mono.Cxxi;
namespace QtTest {
class MainClass {
public static void Main (string[] args)
{
using (QApplication app = new QApplication ()) {
using (QPushButton hello = new QPushButton ("Hello world!", null)) {
hello.Resize (new QSize (100, 30));
hello.SetVisible (true);
QApplication.Exec ();
}
}
}
}
}