diff options
Diffstat (limited to 'recipes-qt/qt5/qttools_git.bb')
| -rw-r--r-- | recipes-qt/qt5/qttools_git.bb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qttools_git.bb b/recipes-qt/qt5/qttools_git.bb index e8393096..51963027 100644 --- a/recipes-qt/qt5/qttools_git.bb +++ b/recipes-qt/qt5/qttools_git.bb | |||
| @@ -14,9 +14,12 @@ LIC_FILES_CHKSUM = " \ | |||
| 14 | file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \ | 14 | file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \ |
| 15 | " | 15 | " |
| 16 | 16 | ||
| 17 | inherit ptest | ||
| 18 | |||
| 17 | DEPENDS += "qtbase qtdeclarative qtxmlpatterns" | 19 | DEPENDS += "qtbase qtdeclarative qtxmlpatterns" |
| 18 | 20 | ||
| 19 | SRC_URI += " \ | 21 | SRC_URI += " \ |
| 22 | file://run-ptest \ | ||
| 20 | file://0003-add-noqtwebkit-configuration.patch \ | 23 | file://0003-add-noqtwebkit-configuration.patch \ |
| 21 | file://0004-linguist-tools-cmake-allow-overriding-the-location-f.patch \ | 24 | file://0004-linguist-tools-cmake-allow-overriding-the-location-f.patch \ |
| 22 | " | 25 | " |
| @@ -32,3 +35,17 @@ EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'qtwebkit', '', 'C | |||
| 32 | SRCREV = "5c7b771829c52400ddd8f441972b37ce92da3b78" | 35 | SRCREV = "5c7b771829c52400ddd8f441972b37ce92da3b78" |
| 33 | 36 | ||
| 34 | BBCLASSEXTEND = "native nativesdk" | 37 | BBCLASSEXTEND = "native nativesdk" |
| 38 | |||
| 39 | do_compile_ptest() { | ||
| 40 | export PATH=${STAGING_DIR_NATIVE}/usr/include/qt5:$PATH | ||
| 41 | cd ${S}/tests | ||
| 42 | qmake -o Makefile tests.pro | ||
| 43 | oe_runmake | ||
| 44 | } | ||
| 45 | |||
| 46 | do_install_ptest() { | ||
| 47 | mkdir -p ${D}${PTEST_PATH} | ||
| 48 | t=${D}${PTEST_PATH} | ||
| 49 | cp ${S}/tests/auto/qtdiag/tst_tdiag $t | ||
| 50 | cp ${S}/tests/auto/qtattributionsscanner/tst_qtattributionsscanner $t | ||
| 51 | } | ||
