summaryrefslogtreecommitdiffstats
path: root/app/config.tests
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@qt.io>2017-12-14 18:35:41 +0900
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-12-16 18:13:35 +0000
commitb369fb7e8d0733af1a67dab27fd565fc6f9f97d3 (patch)
tree02c3469ab60e1f24b5d71c745afef28eb8ff38f4 /app/config.tests
parent39298a8142f140e23a38e2ed53274e7a3c3a93c7 (diff)
Check if dependencies are available and make it run without them
To develop apps efficiently, apps should work on any platform that Qt supports. Change-Id: I559786d207663e023cfbbf1a3f6cf1770191a960 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
Diffstat (limited to 'app/config.tests')
-rw-r--r--app/config.tests/qlibwindowmanager/qlibwindowmanager.cpp8
-rw-r--r--app/config.tests/qlibwindowmanager/qlibwindowmanager.pro5
2 files changed, 13 insertions, 0 deletions
diff --git a/app/config.tests/qlibwindowmanager/qlibwindowmanager.cpp b/app/config.tests/qlibwindowmanager/qlibwindowmanager.cpp
new file mode 100644
index 0000000..bb95c93
--- /dev/null
+++ b/app/config.tests/qlibwindowmanager/qlibwindowmanager.cpp
@@ -0,0 +1,8 @@
+#include <qlibwindowmanager.h>
+
+int main(int argc,char **argv)
+{
+ QLibWindowmanager qwm;
+ return 0;
+}
+
diff --git a/app/config.tests/qlibwindowmanager/qlibwindowmanager.pro b/app/config.tests/qlibwindowmanager/qlibwindowmanager.pro
new file mode 100644
index 0000000..96721e8
--- /dev/null
+++ b/app/config.tests/qlibwindowmanager/qlibwindowmanager.pro
@@ -0,0 +1,5 @@
+SOURCES = qlibwindowmanager.cpp
+
+CONFIG -= qt
+CONFIG += link_pkgconfig
+PKGCONFIG += qlibwindowmanager