qmake5: move default do_configure and do_install to qmake5.bbclass

* it's useful for many recipes outside qt5 and easy to overwrite when needed
This commit is contained in:
Martin Jansa 2013-05-09 19:16:32 +02:00
parent 34a4b6bc24
commit 727b27e936
2 changed files with 8 additions and 8 deletions

View File

@ -14,3 +14,11 @@ DEPENDS_prepend = "${QT5TOOLSDEPENDS}"
#OE_QMAKE_LIBS_X11SM = "-lSM -lICE"
#OE_QMAKE_LRELEASE = "${STAGING_BINDIR_NATIVE}/lrelease5"
#OE_QMAKE_LUPDATE = "${STAGING_BINDIR_NATIVE}/lupdate5"
do_configure() {
qmake5_base_do_configure
}
do_install() {
qmake5_base_do_install
}

View File

@ -9,14 +9,6 @@ ICU_powerpc = "pango"
QT_MODULE ?= "${BPN}"
do_configure() {
qmake5_base_do_configure
}
do_install() {
qmake5_base_do_install
}
# we don't want conflicts with qt4
OE_QMAKE_PATH_HEADERS = "${includedir}/${QT_DIR_NAME}"
OE_QMAKE_PATH_ARCHDATA = "${libdir}/${QT_DIR_NAME}"