summaryrefslogtreecommitdiffstats
path: root/Tests/Qt4Targets/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Qt4Targets/main.cpp')
-rw-r--r--Tests/Qt4Targets/main.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/Tests/Qt4Targets/main.cpp b/Tests/Qt4Targets/main.cpp
new file mode 100644
index 0000000..fc7f580
--- /dev/null
+++ b/Tests/Qt4Targets/main.cpp
@@ -0,0 +1,23 @@
+
+#include <QApplication>
+#include <QString>
+#include <QWidget>
+
+#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;
+}