diff options
author | Franck Bettinger <bettingf@cs.man.ac.uk> | 2002-09-11 20:41:11 (GMT) |
---|---|---|
committer | Franck Bettinger <bettingf@cs.man.ac.uk> | 2002-09-11 20:41:11 (GMT) |
commit | 3f047aabaf3bb10456a4737212177aa146aa54fd (patch) | |
tree | 56d4697389ddd82185ac9aa3872a964b9dfb298c /Tests/Wrapping/qtwrappingmain.cxx | |
parent | 1eb3dd19fce7c382cc0f2c4d43cf116066f40e88 (diff) | |
download | CMake-3f047aabaf3bb10456a4737212177aa146aa54fd.zip CMake-3f047aabaf3bb10456a4737212177aa146aa54fd.tar.gz CMake-3f047aabaf3bb10456a4737212177aa146aa54fd.tar.bz2 |
test for QTWarpUI
Diffstat (limited to 'Tests/Wrapping/qtwrappingmain.cxx')
-rw-r--r-- | Tests/Wrapping/qtwrappingmain.cxx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Tests/Wrapping/qtwrappingmain.cxx b/Tests/Wrapping/qtwrappingmain.cxx new file mode 100644 index 0000000..bf67800 --- /dev/null +++ b/Tests/Wrapping/qtwrappingmain.cxx @@ -0,0 +1,15 @@ +#include <qapplication.h> +#include "qtwrapping.h" + +int main(int argc, char *argv[]) +{ + +QApplication app(argc,argv); + +qtwrapping qtw; +app.setMainWidget(&qtw); +qtw.show(); + +int ret=app.exec(); +return ret; +} |