#include <qpushbutton.h>
#include <qapplication.h>

int main(int argc, char* argv[])
{
	QApplication a(argc,argv);
	QPushButton b(0);

	b.setText("Hallo");
	a.setMainWidget(&b);
	b.show();

	return a.exec();
}


syntax highlighted by Code2HTML, v. 0.9.1