Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | QT4EDEPENDS ?= "qt4-embedded " |
| 2 | DEPENDS_prepend = "${QT4EDEPENDS}" |
| 3 | |
| 4 | inherit qmake2 |
| 5 | |
| 6 | QT_BASE_NAME = "qt4-embedded" |
| 7 | QT_DIR_NAME = "qtopia" |
| 8 | QT_LIBINFIX = "E" |
| 9 | # override variables set by qmake-base to compile Qt/Embedded apps |
| 10 | # |
| 11 | export QMAKESPEC = "${STAGING_DATADIR}/${QT_DIR_NAME}/mkspecs/${TARGET_OS}-oe-g++" |
| 12 | export OE_QMAKE_QT_CONFIG = "${STAGING_DATADIR}/${QT_DIR_NAME}/mkspecs/qconfig.pri" |
| 13 | export OE_QMAKE_INCDIR_QT = "${STAGING_INCDIR}/${QT_DIR_NAME}" |
| 14 | export OE_QMAKE_LIBDIR_QT = "${STAGING_LIBDIR}" |
| 15 | export OE_QMAKE_LIBS_QT = "qt" |
| 16 | export OE_QMAKE_LIBS_X11 = "" |
| 17 | export OE_QMAKE_EXTRA_MODULES = "network" |
| 18 | EXTRA_QMAKEVARS_PRE += " QT_LIBINFIX=${QT_LIBINFIX} " |
| 19 | |
| 20 | # Qt4 uses atomic instructions not supported in thumb mode |
| 21 | ARM_INSTRUCTION_SET = "arm" |