summaryrefslogtreecommitdiffstats
path: root/config.tests
diff options
context:
space:
mode:
authorTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2018-01-04 00:54:09 +0900
committerTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2018-01-04 00:54:09 +0900
commit7afe7a301a956ee97959fe32e91d80d34fd1fd69 (patch)
tree25d7dad2c3bed4a2f8131431e8461bcaf3c4ae04 /config.tests
parent7cd388558f49166b7df2811fdf649e93230017b5 (diff)
Support desktop pc environment for development
To make QtAGLExtras avairable on desktop pc environment, QtAGLExtras can be built without libhomescreen/qlibwindowmanager. To do that, following are changed. - Adding config.tests to check existance of libhomescreen and libwindowmanager. This modifications are from https://gerrit.automotivelinux.org/gerrit/#/c/13021/ - Migrating to new Qt configuration - Resolve inheritance of LibHomeScreen and QLibWindowmanager Change-Id: I9d6f947010452da565e03b3b9a00eaf04120d947 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Diffstat (limited to 'config.tests')
-rw-r--r--config.tests/libhomescreen/libhomescreen.cpp8
-rw-r--r--config.tests/libhomescreen/libhomescreen.pro2
-rw-r--r--config.tests/qlibwindowmanager/qlibwindowmanager.cpp8
-rw-r--r--config.tests/qlibwindowmanager/qlibwindowmanager.pro2
4 files changed, 20 insertions, 0 deletions
diff --git a/config.tests/libhomescreen/libhomescreen.cpp b/config.tests/libhomescreen/libhomescreen.cpp
new file mode 100644
index 0000000..d698b05
--- /dev/null
+++ b/config.tests/libhomescreen/libhomescreen.cpp
@@ -0,0 +1,8 @@
+#include <libhomescreen.hpp>
+
+int main(int argc,char **argv)
+{
+ LibHomeScreen libHomeScreen;
+ return 0;
+}
+
diff --git a/config.tests/libhomescreen/libhomescreen.pro b/config.tests/libhomescreen/libhomescreen.pro
new file mode 100644
index 0000000..76aa2ae
--- /dev/null
+++ b/config.tests/libhomescreen/libhomescreen.pro
@@ -0,0 +1,2 @@
+SOURCES = libhomescreen.cpp
+CONFIG -= qt
diff --git a/config.tests/qlibwindowmanager/qlibwindowmanager.cpp b/config.tests/qlibwindowmanager/qlibwindowmanager.cpp
new file mode 100644
index 0000000..bb95c93
--- /dev/null
+++ b/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/config.tests/qlibwindowmanager/qlibwindowmanager.pro b/config.tests/qlibwindowmanager/qlibwindowmanager.pro
new file mode 100644
index 0000000..26e1611
--- /dev/null
+++ b/config.tests/qlibwindowmanager/qlibwindowmanager.pro
@@ -0,0 +1,2 @@
+SOURCES = qlibwindowmanager.cpp
+CONFIG += qt