Debian Codegraph @

mkspecs/devices/linux-imx6-g++/qmake.conf

raw
1 #
2 # qmake configuration for the Freescale iMX6 boards (single, dual and quad)
3 #
4 # The configuration below is set up for running with EGL on the framebuffer via
5 # the eglfs platform plugin and its eglfs_viv backend.
6
7 # Wayland is also fully functional out of the box. However, when writing Wayland
8 # *compositors* with Qt, the eglfs backend will have to be switched to
9 # eglfs_viv_wl by setting the QT_QPA_EGLFS_INTEGRATION environment variable.
10 #
11 # Below is an example configure line that assumes the SDK is in
12 # $HOME/imx6/toolchain. On device Qt is expected to be placed under
13 # /usr/local/qt5 whereas on the host 'make install' will copy the host tools and
14 # the target libraries to $HOME/imx6/qt5.
15 #
16 # ./configure -prefix /usr/local/qt5 -extprefix $HOME/imx6/qt5 -device linux-imx6-g++ \
17 # -device-option CROSS_COMPILE=$HOME/imx6/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- \
18 # -sysroot $HOME/imx6/toolchain/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi \
19 # -nomake examples -nomake tests -v
20 #
21
22 include(../common/linux_device_pre.conf)
23
24 QMAKE_LIBS_EGL += -lEGL
25 QMAKE_LIBS_OPENGL_ES2 += -lGLESv2 -lEGL -lGAL
26 QMAKE_LIBS_OPENVG += -lOpenVG -lEGL -lGAL
27
28 IMX6_CFLAGS = -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1
29 QMAKE_CFLAGS += $$IMX6_CFLAGS
30 QMAKE_CXXFLAGS += $$IMX6_CFLAGS
31
32 DISTRO_OPTS += hard-float
33
34 # Preferred eglfs backend
35 EGLFS_DEVICE_INTEGRATION = eglfs_viv
36
37 include(../common/linux_arm_device_post.conf)
38
39 load(qt_config)