summaryrefslogtreecommitdiff
path: root/Tests/Qt4Targets/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Qt4Targets/main.cpp')
-rw-r--r--Tests/Qt4Targets/main.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/Tests/Qt4Targets/main.cpp b/Tests/Qt4Targets/main.cpp
new file mode 100644
index 000000000..3c98c99f6
--- /dev/null
+++ b/Tests/Qt4Targets/main.cpp
@@ -0,0 +1,24 @@
+
+#include <QApplication>
+#include <QWidget>
+
+#include <QString>
+
+#ifndef QT_CORE_LIB
+#error Expected QT_CORE_LIB
+#endif
+
+#ifndef QT_GUI_LIB
+#error Expected QT_GUI_LIB
+#endif
+
+int main(int argc, char **argv)
+{
+ QApplication app(argc, argv);
+
+ QWidget w;
+ w.setWindowTitle(QString::fromLatin1("SomeTitle"));
+ w.show();
+
+ return 0;
+}