summaryrefslogtreecommitdiffstats
path: root/mkspecs/devices/linux-emu-g++/qmake.conf
blob: 1de381ee700fa6baddcbeeae4ba4a439c82be55f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#
# qmake configuration for the Qt Simulator for Embedded Linux
# (cross-compile for the x86-based Yocto image + use a custom EGL/GLES implementation)
#
# Example configure command:
#
# ./configure \
#    -prefix /usr/local/qt5 \
#    -hostprefix /usr/local/qt5-host \
#    -extprefix $PWD/../qt5 \
#    -device emu \
#    -device-option CROSS_COMPILE=$QT/Boot2Qt/emulator/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux/i586-poky-linux- \
#    -sysroot $QT/Boot2Qt/emulator/toolchain/sysroots/i586-poky-linux \
#    -nomake examples -nomake tests -v \
#    -release -force-debug-info \
#    -opengl es2

include(../common/linux_device_pre.conf)

QMAKE_LIBS_EGL = -lQtGlesStreamClient
QMAKE_LIBS_OPENGL_ES2 = $$QMAKE_LIBS_EGL
QMAKE_LIBS_OPENGL_ES2_DEBUG = $$QMAKE_LIBS_EGL

# Preferred eglfs backend
EGLFS_DEVICE_INTEGRATION = eglfs_emu

include(../common/linux_device_post.conf)

load(qt_config)