[oe] [PATCH] qt4x11: set QT_LIBINFIX and QT_DIR_NAME

Eric Bénard eric at eukrea.com
Thu Nov 25 15:54:29 UTC 2010


this will fix the following issue with qwt 5.2.1 where obj dir is:
work/armv4t-oe-linux-gnueabi/qwt-5.2.1-r0/qwt-5.2.1/src/obj${QT_LIBINFIX}/
instead of :
work/armv4t-oe-linux-gnueabi/qwt-5.2.1-r0/qwt-5.2.1/src/obj/

From: Martin Jansa <Martin.Jansa at gmail.com>
Signed-off-by: Eric Bénard <eric at eukrea.com>
---
 classes/qt4x11.bbclass |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/classes/qt4x11.bbclass b/classes/qt4x11.bbclass
index 2d56b7e..abb1d9d 100644
--- a/classes/qt4x11.bbclass
+++ b/classes/qt4x11.bbclass
@@ -2,5 +2,8 @@ DEPENDS_prepend = "${@["qt4-x11-free ", ""][(bb.data.getVar('PN', d, 1)[:12] ==
 
 inherit qmake2
 
+QT_DIR_NAME = "qt4"
+QT_LIBINFIX = ""
+
 # Qt4 uses atomic instructions not supported in thumb mode
 ARM_INSTRUCTION_SET = "arm"
-- 
1.6.3.3





More information about the Openembedded-devel mailing list