[Buildroot] [PATCH] Qt: add config option to build libQtDeclarative module
Daniel Mack
zonque at gmail.com
Tue Jun 7 08:36:03 UTC 2011
I just wanted to ping on this one.
I haven't contributed to BR2 for awhile, so I don't know who's able to
pick and commit this one?
Thanks,
Daniel
On Tue, May 31, 2011 at 6:16 PM, Daniel Mack <zonque at gmail.com> wrote:
> Signed-off-by: Daniel Mack <zonque at gmail.com>
> ---
> package/qt/Config.in | 7 +++++++
> package/qt/qt.mk | 9 +++++++++
> 2 files changed, 16 insertions(+), 0 deletions(-)
>
> diff --git a/package/qt/Config.in b/package/qt/Config.in
> index 4a3945c..214f140 100644
> --- a/package/qt/Config.in
> +++ b/package/qt/Config.in
> @@ -378,4 +378,11 @@ config BR2_PACKAGE_QT_SCRIPTTOOLS
> Build the Qt Script Tools module.
> if unsure, say n.
>
> +config BR2_PACKAGE_QT_DECLARATIVE
> + bool "Declarative module"
> + depends on BR2_PACKAGE_QT_GUI_MODULE
> + help
> + Build the Qt Declarative Module for qml support
> + if unsure, say n.
> +
> endif # BR2_PACKAGE_QT
> diff --git a/package/qt/qt.mk b/package/qt/qt.mk
> index 8bcbd3f..e8b7a49 100644
> --- a/package/qt/qt.mk
> +++ b/package/qt/qt.mk
> @@ -398,6 +398,12 @@ else
> QT_CONFIGURE_OPTS += -no-stl
> endif
>
> +ifeq ($(BR2_PACKAGE_QT_DECLARATIVE),y)
> +QT_CONFIGURE_OPTS += -declarative
> +else
> +QT_CONFIGURE_OPTS += -no-declarative
> +endif
> +
> # ccache and precompiled headers don't play well together
> ifeq ($(BR2_CCACHE),y)
> QT_CONFIGURE_OPTS += -no-pch
> @@ -535,6 +541,9 @@ endif
> ifeq ($(BR2_PACKAGE_QT_SCRIPTTOOLS),y)
> QT_INSTALL_LIBS += QtScriptTools
> endif
> +ifeq ($(BR2_PACKAGE_QT_DECLARATIVE),y)
> +QT_INSTALL_LIBS += QtDeclarative
> +endif
> ifeq ($(BR2_PACKAGE_QT_QT3SUPPORT),y)
> QT_INSTALL_LIBS += Qt3Support
> endif
> --
> 1.7.5.1
>
>
More information about the buildroot
mailing list