[oe] [meta-qt5][PATCH 1/4] qmake5_base.bbclass: Use Qt version path for headers

Denys Dmytriyenko denis at denix.org
Fri Feb 21 21:12:07 UTC 2014


On Fri, Feb 21, 2014 at 05:41:01PM -0300, Otavio Salvador wrote:
> When looking for Qt5 headers we ought to use the Qt5 specific path. In
> case the distribution wants to have a flat tree it can set QT_DIR_NAME
> and it will still works as expected.
> 
> Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>

Acked-by: Denys Dmytriyenko <denys at ti.com>

Martin,

Thinking about what you said in that Wiki section - I believe the number of 
apps consuming headers from /usr/include/qt5 is much higher than number of 
non-Qt5 libs/modules potentially installing headers in there... So, we 
shouldn't require every app recipe to set PATH_HEADERS properly.


> ---
>  classes/qmake5_base.bbclass |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/classes/qmake5_base.bbclass b/classes/qmake5_base.bbclass
> index 3861cd0..0cfb5a4 100644
> --- a/classes/qmake5_base.bbclass
> +++ b/classes/qmake5_base.bbclass
> @@ -57,7 +57,7 @@ do_generate_qt_config_file() {
>      cat > ${QT_CONF_PATH} <<EOF
>  [Paths]
>  Prefix = ${OE_QMAKE_PATH_PREFIX}
> -Headers = ${OE_QMAKE_PATH_HEADERS}
> +Headers = ${OE_QMAKE_PATH_QT_HEADERS}
>  Libraries = ${OE_QMAKE_PATH_LIBS}
>  ArchData = ${OE_QMAKE_PATH_ARCHDATA}
>  Data = ${OE_QMAKE_PATH_DATA}
> -- 
> 1.7.10.4
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel



More information about the Openembedded-devel mailing list