0e85b554ad
This is needed to be compatible with latest Qualcomm BSP releases. This patch also makes it possible to select HW layer via QT_OPENWFD_CLIENT_ID and QT_OPENWFD_PIPELINE_ID environment variables. Change-Id: Ie795b21afc61a1de7c1d0b52cdb30a754e3f8266 Reviewed-by: Janne Koskinen <janne.p.koskinen@qt.io> Reviewed-by: Timo Aarnipuro <timo.aarnipuro@qt.io> Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io> (cherry picked from commit 00f693d3e5046999270c92731e34a3e7fcd01c6b) Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
58 lines
1.8 KiB
Plaintext
58 lines
1.8 KiB
Plaintext
#
|
|
# qmake configuration for INTEGRITY Qualcomm s820 Snapdragon MSM8996AU
|
|
#
|
|
|
|
load(device_config)
|
|
|
|
include(../../common/ghs-integrity-armv8.conf)
|
|
|
|
QT_QPA_DEFAULT_PLATFORM = eglfs
|
|
EGLFS_DEVICE_INTEGRATION = eglfs_openwfd
|
|
|
|
bsp_name = $$(INTEGRITY_BSP)
|
|
isEmpty(bsp_name): \
|
|
error("This qmakespec requires $INTEGRITY_BSP to be set")
|
|
|
|
os_directory = $$(INTEGRITY_DIR)
|
|
isEmpty(os_directory): \
|
|
error("This qmakespec requires $INTEGRITY_DIR to be set")
|
|
|
|
qclibs_directory = $$(QCLIBS_DIR)
|
|
isEmpty(qclibs_directory): \
|
|
error("This qmakespec requires $QCLIBS_DIR to be set")
|
|
|
|
qc_multimedia_inc_directory = $$(QC_MULTIMEDIA_INC_DIR)
|
|
isEmpty(qc_multimedia_inc_directory): \
|
|
error("This qmakespec requires $QC_MULTIMEDIA_INC_DIR to be set")
|
|
|
|
gl_inc_directory = $$(GL_INC_DIR)
|
|
isEmpty(gl_inc_directory): \
|
|
error("This qmakespec requires $GL_INC_DIR to be set")
|
|
|
|
gl_lib_directory = $$(GL_LIB_DIR)
|
|
isEmpty(gl_lib_directory): \
|
|
error("This qmakespec requires $GL_LIB_DIR to be set")
|
|
|
|
QMAKE_LIBDIR += $$(QCLIBS_DIR)/base
|
|
QMAKE_LIBDIR += $$(QCLIBS_DIR)/multimedia/display
|
|
|
|
QMAKE_INCDIR += $$(QC_MULTIMEDIA_INC_DIR)
|
|
|
|
QMAKE_LIBS_EGL += -lESXEGL_Adreno -lESXGLESv2_Adreno -ladreno_utils -lGSLUser -lOSUser -lpanel -livfs -lposix -lpmem -ltzbsp -lpaged_alloc -lglnext-llvm -lopenwfd -lplanedef -lmmosallibrary
|
|
QMAKE_LIBS_OPENGL_ES2 += $${QMAKE_LIBS_EGL}
|
|
|
|
QMAKE_CFLAGS += -DINTEGRITY
|
|
QMAKE_CXXFLAGS += -DINTEGRITY
|
|
|
|
QMAKE_CFLAGS += -bigswitch
|
|
QMAKE_CXXFLAGS += -bigswitch
|
|
QMAKE_LFLAGS += -bigswitch
|
|
|
|
# OpenGL libraries have a dependency on libEGL
|
|
QMAKE_INCDIR_EGL = $$(GL_INC_DIR)
|
|
QMAKE_LIBDIR_EGL = $$(GL_LIB_DIR)
|
|
QMAKE_INCDIR_OPENGL_ES2 = $$(GL_INC_DIR)
|
|
QMAKE_LIBDIR_OPENGL_ES2 = $$(GL_LIB_DIR)
|
|
|
|
load(qt_config)
|