diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2017-09-06 16:32:21 +0300 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@qt.io> | 2017-09-12 14:28:39 +0000 |
commit | 83e72b4c8ef5801ebc4096b85f44888a306ba264 (patch) | |
tree | 915b7c7bfc4233a0c727e1f56f573e7c89651878 | |
parent | 15e354fac60fd784bd21668d251ce49740adacdf (diff) | |
download | meta-boot2qt-83e72b4c8ef5801ebc4096b85f44888a306ba264.tar.gz |
qtivi: update revision
Patch needed to get correct QT_HOST_BINS path during build.
Change-Id: Ic61b49ead57d7141bc540283ddbdb7ea36aa9ccd
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
-rw-r--r-- | recipes-qt/automotive/qtivi/0001-Use-QT_HOST_BINS-get-for-getting-correct-path.patch | 29 | ||||
-rw-r--r-- | recipes-qt/automotive/qtivi_git.bb | 5 |
2 files changed, 32 insertions, 2 deletions
diff --git a/recipes-qt/automotive/qtivi/0001-Use-QT_HOST_BINS-get-for-getting-correct-path.patch b/recipes-qt/automotive/qtivi/0001-Use-QT_HOST_BINS-get-for-getting-correct-path.patch new file mode 100644 index 0000000..9f6c0c0 --- /dev/null +++ b/recipes-qt/automotive/qtivi/0001-Use-QT_HOST_BINS-get-for-getting-correct-path.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From b4ed8c9d4a391771cba485bfa685147126260dc2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuli Piippo <samuli.piippo@qt.io> | ||
3 | Date: Thu, 7 Sep 2017 10:24:11 +0300 | ||
4 | Subject: [PATCH] Use QT_HOST_BINS/get for getting correct path | ||
5 | |||
6 | Patch QT_HOST_BINS same way as is done it qtbase for getting | ||
7 | the EffectivePath instead of installation path. | ||
8 | |||
9 | Change-Id: I3e9c04019c432e182dcb5c0898275173f20de1e2 | ||
10 | --- | ||
11 | mkspecs/features/ivigenerator.prf | 4 ++-- | ||
12 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
13 | |||
14 | diff --git a/mkspecs/features/ivigenerator.prf b/mkspecs/features/ivigenerator.prf | ||
15 | index 65c497e..7634355 100644 | ||
16 | --- a/mkspecs/features/ivigenerator.prf | ||
17 | +++ b/mkspecs/features/ivigenerator.prf | ||
18 | @@ -31,9 +31,9 @@ QFACE_YAML = $$QFACE_ABS_PWD/$${QFACE_BASE_NAME}.yaml | ||
19 | OTHER_FILES += $$QFACE_FILE | ||
20 | |||
21 | # Detect whether we are using the feature inside the qtivi repository | ||
22 | -VIRTUALENV_PATH = $$[QT_HOST_BINS]/ivigenerator/qtivi_qface_virtualenv | ||
23 | +VIRTUALENV_PATH = $$[QT_HOST_BINS/get]/ivigenerator/qtivi_qface_virtualenv | ||
24 | INTERNAL_VIRTUALENV_PATH = $$QTIVI_BUILD_ROOT/src/tools/ivigenerator/qtivi_qface_virtualenv | ||
25 | -IVI_GENERATOR_PATH = $$[QT_HOST_BINS]/ivigenerator | ||
26 | +IVI_GENERATOR_PATH = $$[QT_HOST_BINS/get]/ivigenerator | ||
27 | QTEST_ENVIRONMENT = $$upper($$(QTEST_ENVIRONMENT)) | ||
28 | |||
29 | # Try to use the internal virtualenv when building qtivi | ||
diff --git a/recipes-qt/automotive/qtivi_git.bb b/recipes-qt/automotive/qtivi_git.bb index 0f49d5d..2a6f765 100644 --- a/recipes-qt/automotive/qtivi_git.bb +++ b/recipes-qt/automotive/qtivi_git.bb | |||
@@ -47,10 +47,11 @@ QT_MODULE_BRANCH_QFACE = "upstream/develop" | |||
47 | 47 | ||
48 | SRC_URI += " \ | 48 | SRC_URI += " \ |
49 | ${QT_GIT}/qtivi-qface.git;name=qface;branch=${QT_MODULE_BRANCH_QFACE};protocol=${QT_GIT_PROTOCOL};destsuffix=git/src/3rdparty/qface \ | 49 | ${QT_GIT}/qtivi-qface.git;name=qface;branch=${QT_MODULE_BRANCH_QFACE};protocol=${QT_GIT_PROTOCOL};destsuffix=git/src/3rdparty/qface \ |
50 | file://0001-Use-QT_HOST_BINS-get-for-getting-correct-path.patch \ | ||
50 | " | 51 | " |
51 | 52 | ||
52 | SRCREV_qtivi = "3205b6e8f57273096ae60d8f6fcdbe597c350393" | 53 | SRCREV_qtivi = "b8aa8e65981071555a52c6861cec9a05bb8bfaf4" |
53 | SRCREV_qface = "b1d96d85a7c43ac74335b9a1a99a68507047f5bc" | 54 | SRCREV_qface = "e2fd9cd6ff915378779c3f604736b8b4a2584d0b" |
54 | SRCREV = "${SRCREV_qtivi}" | 55 | SRCREV = "${SRCREV_qtivi}" |
55 | SRCREV_FORMAT = "qtivi_qface" | 56 | SRCREV_FORMAT = "qtivi_qface" |
56 | 57 | ||