Skip to contentSkip to conversation

qt3d: Add assimp dependency

PATCH Superseded Tom Hochstein 2 participants 3 messages Jan 20, 2017 – Jan 25, 2017

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 qt3d: Add assimp dependency

Fix build error:

fatal error: assimp/Importer.hpp: No such file or directory

---
 recipes-qt/qt5/qt3d_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-qt/qt5/qt3d_git.bb +1 -1
index 9708ec9..d8f943f 100644
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = " \
 "
 
 DEPENDS += "qtbase"
-DEPENDS_class-target += "qtdeclarative qt3d-native"
+DEPENDS_class-target += "qtdeclarative qt3d-native assimp"
 
 SRC_URI += " \
     file://0001-Allow-a-tools-only-build.patch \
Signature · 1 line
1.9.1
#1 lore raw

First version was based on morty. This one is on master.

Tom

-----Original Message-----
From: Tom Hochstein
Sent: Friday, January 20, 2017 5:41 PM
To: [email protected]
Cc: Tom Hochstein <[email protected]>
Subject: [meta-qt5][PATCH v2] qt3d: Add assimp dependency

Fix build error:

fatal error: assimp/Importer.hpp: No such file or directory

---
 recipes-qt/qt5/qt3d_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-qt/qt5/qt3d_git.bb +1 -1
index 9708ec9..d8f943f 100644
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = " \
 "
 
 DEPENDS += "qtbase"
-DEPENDS_class-target += "qtdeclarative qt3d-native"
+DEPENDS_class-target += "qtdeclarative qt3d-native assimp"
 
 SRC_URI += " \
     file://0001-Allow-a-tools-only-build.patch \
Signature · 1 line
1.9.1
#2 lore raw
In reply to Tom Hochstein
Quoted 3 lines · Tom Hochstein

Fix build error:

fatal error: assimp/Importer.hpp: No such file or directory

unfortunately this would be the first dependency on meta-oe from meta-qt5 and layer.conf currently lists core as the only dependency.

Is it possible to make this dependency optional with PACKAGECONFIG? Otherwise you would need to add meta-oe to layer.conf and README dependencies.

Quoted 27 lines
---
 recipes-qt/qt5/qt3d_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-qt/qt5/qt3d_git.bb +1 -1
index 9708ec9..d8f943f 100644
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = " \
 "
 
 DEPENDS += "qtbase"
-DEPENDS_class-target += "qtdeclarative qt3d-native"
+DEPENDS_class-target += "qtdeclarative qt3d-native assimp"
 
 SRC_URI += " \
     file://0001-Allow-a-tools-only-build.patch \
Signature · 7 lines
1.9.1

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]