add vigs_qt5 stub functions
Change-Id: I523a4ebf5563b31893005ef05805a07be46a2761
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
obj-y += vigs_gl_pool.o
obj-y += vigs_gl_backend.o
obj-y += vigs_sw_backend.o
-obj-y += vigs_qt5.o
+obj-$(CONFIG_QT) += vigs_qt5.o
+ifndef CONFIG_QT
+obj-y += vigs_qt5_stub.o
+endif
obj-y += work_queue.o
obj-y += winsys.o
obj-y += display.o
--- /dev/null
+#include "emulator_common.h"
+#include "vigs_qt5.h"
+
+uint32_t qt5_window_width = 0;
+uint32_t qt5_window_height = 0;
+int qt5_window_angle = 0;
+
+bool vigs_qt5_enabled(void)
+{
+ return false;
+}
+
+void *vigs_qt5_display(void)
+{
+ return NULL;
+}
+
+void *vigs_qt5_gl_context_create(bool is_gl2)
+{
+ return NULL;
+}