Mercurial > mxe-octave
comparison 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 |
comparison
equal
deleted
inserted
replaced
659:c96eeb56f5de | 660:f77810598227 |
---|---|
1 /* This file is part of mingw-cross-env. */ | |
2 /* See doc/index.html or doc/README for further information. */ | |
3 | |
4 #include <QtGui/QApplication> | |
5 #include "ui_qt-test.h" | |
6 | |
7 int main(int argc, char *argv[]) | |
8 { | |
9 QApplication a(argc, argv); | |
10 QMainWindow w; | |
11 Ui::MainWindow u; | |
12 u.setupUi(&w); | |
13 w.show(); | |
14 return a.exec(); | |
15 } |