annotate src/qt-test.cpp @ 660:f77810598227

test program for package qt
author Volker Grabsch <vog@notjusthosting.com>
date Sat, 23 Jan 2010 00:07:21 +0100
parents
children 29f1ba4559ae
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
660
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
1 /* This file is part of mingw-cross-env. */
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
2 /* See doc/index.html or doc/README for further information. */
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 #include <QtGui/QApplication>
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 #include "ui_qt-test.h"
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
6
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
7 int main(int argc, char *argv[])
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 {
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 QApplication a(argc, argv);
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 QMainWindow w;
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11 Ui::MainWindow u;
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 u.setupUi(&w);
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 w.show();
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14 return a.exec();
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 }