From fd8fc6ffdb2e34b2921f06644264c405eee94f5d Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Fri, 12 Feb 2016 18:04:16 +0200 Subject: qt3d: support qgltf in native and nativesdk builds qgltf is used to import a variety of 3D model formats and export into fast-to-load, optimized glTF assets embedded into Qt resource files Signed-off-by: Martin Jansa --- recipes-qt/qt5/qt3d_git.bb | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'recipes-qt/qt5/qt3d_git.bb') diff --git a/recipes-qt/qt5/qt3d_git.bb b/recipes-qt/qt5/qt3d_git.bb index 0ec99c61..a19422b6 100644 --- a/recipes-qt/qt5/qt3d_git.bb +++ b/recipes-qt/qt5/qt3d_git.bb @@ -8,7 +8,19 @@ LIC_FILES_CHKSUM = " \ file://LICENSE.GPL;md5=05832301944453ec79e40ba3c3cfceec \ " -DEPENDS = "qtdeclarative" +DEPENDS += "qtbase" +DEPENDS_class-target += "qtdeclarative qt3d-native" + +SRC_URI += " \ + file://0001-Allow-a-tools-only-build.patch \ + " + +PACKAGECONFIG ??= "" +PACKAGECONFIG_class-native ??= "tools-only" +PACKAGECONFIG_class-nativesdk ??= "tools-only" +PACKAGECONFIG[tools-only] = "CONFIG+=tools-only" + +EXTRA_QMAKEVARS_PRE += "${EXTRA_OECONF}" FILES_${PN}-qmlplugins += " \ ${OE_QMAKE_PATH_QML}/*/*/*.bez \ @@ -16,3 +28,5 @@ FILES_${PN}-qmlplugins += " \ " SRCREV = "9b9f34701f47824e8201453d148152fb0855f98a" + +BBCLASSEXTEND += "native nativesdk" -- cgit v1.2.3-54-g00ecf