summaryrefslogtreecommitdiffstats
path: root/meta-boot2qt-distro/recipes-qt/qt5/qtbase/rpi/oe-device-extra.pri
diff options
context:
space:
mode:
Diffstat (limited to 'meta-boot2qt-distro/recipes-qt/qt5/qtbase/rpi/oe-device-extra.pri')
-rw-r--r--meta-boot2qt-distro/recipes-qt/qt5/qtbase/rpi/oe-device-extra.pri11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta-boot2qt-distro/recipes-qt/qt5/qtbase/rpi/oe-device-extra.pri b/meta-boot2qt-distro/recipes-qt/qt5/qtbase/rpi/oe-device-extra.pri
new file mode 100644
index 0000000..9f64808
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/qt5/qtbase/rpi/oe-device-extra.pri
@@ -0,0 +1,11 @@
1QMAKE_INCDIR_EGL = $$[QT_SYSROOT]/usr/include/interface/vcos/pthreads \
2 $$[QT_SYSROOT]/usr/include/interface/vmcs_host/linux
3QMAKE_INCDIR_OPENGL_ES2 = $${QMAKE_INCDIR_EGL}
4
5QMAKE_LIBS_EGL = -lEGL -lGLESv2
6QMAKE_CFLAGS += $$RPI_CFLAGS
7QMAKE_CXXFLAGS += $$RPI_CFLAGS
8
9QMAKE_PLATFORM += boot2qt
10QT_QPA_DEFAULT_PLATFORM = eglfs
11EGLFS_DEVICE_INTEGRATION = eglfs_brcm