[Buildroot] [PATCH 2/4] qt5: expose a QT5_QMAKE variable for other Qt5 packages
Peter Korsgaard
jacmet at uclibc.org
Sun Nov 2 22:46:43 UTC 2014
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:
> Much like package/qt/qt.mk exposes a QT_QMAKE variable that other
> qmake-based Qt4 libraries/applications can use in their .mk file, this
> commit adds a QT5_QMAKE variable to allow the same for Qt5 packages.
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
> ---
> package/qt5/qt5.mk | 3 +++
> 1 file changed, 3 insertions(+)
> diff --git a/package/qt5/qt5.mk b/package/qt5/qt5.mk
> index e9c59db..2a3e274 100644
> --- a/package/qt5/qt5.mk
> +++ b/package/qt5/qt5.mk
> @@ -17,3 +17,6 @@ define QT5_LA_PRL_FILES_FIXUP
> $(SED) "s%-L/usr/lib%%" $$i; \
> done
> endef
> +
> +# Variable for other Qt applications to use
> +QT5_QMAKE = $(HOST_DIR)/usr/bin/qmake -spec devices/linux-buildroot-g++
This (and elsewhere) shows a bit of a mixup between BR2_PACKAGE_QT5 and
qt5base - But ok, having BR2_PACKAGE_QT5 enabled without qt5base isn't
really sensible (but is allowed by kconfig).
Should we just use BR2_PACKAGE_QT5BASE everywhere you check for BR2_PACKAGE_QT5?
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list