summaryrefslogtreecommitdiffstats
path: root/Tests/Wrapping/qtwrappingmain.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Wrapping/qtwrappingmain.cxx')
-rw-r--r--Tests/Wrapping/qtwrappingmain.cxx15
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;
+}