--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/qt-hello/main.cc Fri Jan 20 23:35:30 2012 +0100
@@ -0,0 +1,24 @@
+#include <QApplication>
+#include <QPushButton>
+#include <QWidget>
+#include <QLabel>
+#include <QVBoxLayout>
+
+int main(int argc, char **argv)
+{
+ QApplication app(argc, argv);
+ QWidget mw;
+ QVBoxLayout layout;
+ QLabel label("Hallo, scheint zu funktionieren");
+ QPushButton done("Done");
+
+ mw.setLayout(&layout);
+ layout.addWidget(&label);
+ layout.addWidget(&done);
+
+ done.connect(&done, SIGNAL(clicked()), &app, SLOT(quit()));
+
+
+ mw.show();
+ app.exec();
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/qt-hello/qt-hello.pro Fri Jan 20 23:35:30 2012 +0100
@@ -0,0 +1,11 @@
+######################################################################
+# Automatically generated by qmake (2.01a) Fri Jan 20 23:19:24 2012
+######################################################################
+
+TEMPLATE = app
+TARGET =
+DEPENDPATH += .
+INCLUDEPATH += .
+
+# Input
+SOURCES += main.cc