| 1 | # |
| 2 | # qmake configuration for the Qt Simulator for Embedded Linux |
| 3 | # (cross-compile for the x86-based Yocto image + use a custom EGL/GLES implementation) |
| 4 | # |
| 5 | # Example configure command: |
| 6 | # |
| 7 | # ./configure \ |
| 8 | # -prefix /usr/local/qt5 \ |
| 9 | # -hostprefix /usr/local/qt5-host \ |
| 10 | # -extprefix $PWD/../qt5 \ |
| 11 | # -device emu \ |
| 12 | # -device-option CROSS_COMPILE=$QT/Boot2Qt/emulator/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux/i586-poky-linux- \ |
| 13 | # -sysroot $QT/Boot2Qt/emulator/toolchain/sysroots/i586-poky-linux \ |
| 14 | # -nomake examples -nomake tests -v \ |
| 15 | # -release -force-debug-info \ |
| 16 | # -opengl es2 |
| 17 | |
| 18 | include(../common/linux_device_pre.conf) |
| 19 | |
| 20 | QMAKE_LIBS_EGL = -lQtGlesStreamClient |
| 21 | QMAKE_LIBS_OPENGL_ES2 = $$QMAKE_LIBS_EGL |
| 22 | QMAKE_LIBS_OPENGL_ES2_DEBUG = $$QMAKE_LIBS_EGL |
| 23 | |
| 24 | # Preferred eglfs backend |
| 25 | EGLFS_DEVICE_INTEGRATION = eglfs_emu |
| 26 | |
| 27 | include(../common/linux_device_post.conf) |
| 28 | |
| 29 | load(qt_config) |