summaryrefslogtreecommitdiffstats
path: root/src/qt-test.cpp
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2010-01-22 23:07:21 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2010-01-22 23:07:21 (GMT)
commit4a1e1b1fcbcd66e47cc3e4bd8876cb6e98abd4c8 (patch)
tree64248fcc6e77bb04241ce86270bc191b2e22d0ef /src/qt-test.cpp
parentfeccf81bb92f76668d107880f270988d3048cb42 (diff)
downloadmxe-4a1e1b1fcbcd66e47cc3e4bd8876cb6e98abd4c8.zip
mxe-4a1e1b1fcbcd66e47cc3e4bd8876cb6e98abd4c8.tar.gz
mxe-4a1e1b1fcbcd66e47cc3e4bd8876cb6e98abd4c8.tar.bz2
test program for package qt
Diffstat (limited to 'src/qt-test.cpp')
-rw-r--r--src/qt-test.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/qt-test.cpp b/src/qt-test.cpp
new file mode 100644
index 0000000..706082d
--- /dev/null
+++ b/src/qt-test.cpp
@@ -0,0 +1,15 @@
+/* This file is part of mingw-cross-env. */
+/* See doc/index.html or doc/README for further information. */
+
+#include <QtGui/QApplication>
+#include "ui_qt-test.h"
+
+int main(int argc, char *argv[])
+{
+ QApplication a(argc, argv);
+ QMainWindow w;
+ Ui::MainWindow u;
+ u.setupUi(&w);
+ w.show();
+ return a.exec();
+}