aboutsummaryrefslogtreecommitdiffstats
path: root/classes/qmake5_base.bbclass
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2013-05-09 21:17:01 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2013-05-09 21:41:32 +0200
commit4c197c6223a1c878dfa8c0277a91021c68091a93 (patch)
tree9f1c49c5341e5e26f27f0702e8e7a4588243504b /classes/qmake5_base.bbclass
parent727b27e9368a4c079353d68741e6636a56305db7 (diff)
qmake5_base: Define OE_QMAKE_PATH_QT_* variables
* and move it to separate .bbclass which is easier to replace in distro layer when you don't care about conflicts with qt4 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'classes/qmake5_base.bbclass')
-rw-r--r--classes/qmake5_base.bbclass20
1 files changed, 1 insertions, 19 deletions
diff --git a/classes/qmake5_base.bbclass b/classes/qmake5_base.bbclass
index d81d283c..8ff9565a 100644
--- a/classes/qmake5_base.bbclass
+++ b/classes/qmake5_base.bbclass
@@ -51,25 +51,7 @@ QT_DIR_NAME ?= "qt5"
# this one needs to be exported, because qmake reads it from shell env
export QT_CONF_PATH = "${WORKDIR}/qt.conf"
-OE_QMAKE_PATH_PREFIX = "${prefix}"
-OE_QMAKE_PATH_HEADERS = "${includedir}"
-OE_QMAKE_PATH_LIBS = "${libdir}"
-OE_QMAKE_PATH_ARCHDATA = "${libdir}"
-OE_QMAKE_PATH_DATA = "${datadir}"
-OE_QMAKE_PATH_BINS = "${bindir}"
-OE_QMAKE_PATH_LIBEXECS = "${libdir}/${QT_DIR_NAME}/libexec"
-OE_QMAKE_PATH_PLUGINS = "${libdir}/${QT_DIR_NAME}/plugins"
-OE_QMAKE_PATH_IMPORTS = "${libdir}/${QT_DIR_NAME}/imports"
-OE_QMAKE_PATH_QML = "${libdir}/${QT_DIR_NAME}/qml"
-OE_QMAKE_PATH_TRANSLATIONS = "${datadir}/translations"
-OE_QMAKE_PATH_DOCS = "${docdir}"
-OE_QMAKE_PATH_SETTINGS = "${sysconfdir}"
-OE_QMAKE_PATH_EXAMPLES = "${datadir}/examples"
-OE_QMAKE_PATH_TESTS = "${datadir}/tests"
-OE_QMAKE_PATH_HOST_PREFIX = ""
-OE_QMAKE_PATH_HOST_BINS = "${bindir}/${QT_DIR_NAME}"
-OE_QMAKE_PATH_HOST_DATA = "${QMAKE_MKSPEC_PATH_TARGET}"
-OE_QMAKE_PATH_EXTERNAL_HOST_BINS = "${STAGING_BINDIR_NATIVE}/${QT_DIR_NAME}"
+inherit qmake5_paths
do_generate_qt_config_file() {
cat > ${QT_CONF_PATH} <<EOF