qt5base-lts/mkspecs/devices/freebsd-rasp-pi-clang/qmake.conf
Oleksandr Tymoshenko 72efb2e6f4 mkspec: Add cross-compilation support for FreeBSD
Add conf files for -device qmake switch. It consists of two common
pre/post includes for FreeBSD-base device. "freebsd-generic-clang"
-device option for generic cross-compilation target, with bsdfb as
default platform and freebsd-rasp-pi-clang option for Raspberry Pi
(up to version 2) with OpenGL ES2 (eglfs) support

Change-Id: I45d91c0512f60f2be438ce46e0485844c341188a
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
2016-10-12 22:04:46 +00:00

26 lines
888 B
Plaintext

# qmake configuration for the Raspberry Pi and Raspberry Pi 2
include(../common/freebsd_device_pre.conf)
QT_QPA_DEFAULT_PLATFORM = eglfs
# Preferred eglfs backend
EGLFS_DEVICE_INTEGRATION = eglfs_brcm
QMAKE_LIBDIR_OPENGL_ES2 = $$[QT_SYSROOT]/usr/local/lib
QMAKE_LIBDIR_EGL = $$QMAKE_LIBDIR_OPENGL_ES2
QMAKE_LIBDIR_OPENVG = $$QMAKE_LIBDIR_OPENGL_ES2
QMAKE_INCDIR_EGL = $$[QT_SYSROOT]/usr/local/include \
$$[QT_SYSROOT]/usr/local/include/interface/vcos/pthreads \
$$[QT_SYSROOT]/usr/local/include/interface/vmcs_host/linux
QMAKE_INCDIR_OPENGL_ES2 = $${QMAKE_INCDIR_EGL}
QMAKE_INCDIR_OPENVG = $${QMAKE_INCDIR_EGL}
QMAKE_LIBS_EGL = -lEGL -lGLESv2
QMAKE_LIBS_OPENGL_ES2 = $${QMAKE_LIBS_EGL}
QMAKE_LIBS_OPENVG = -lEGL -lOpenVG -lGLESv2
include(../common/freebsd_device_post.conf)
load(qt_config)