[Buildroot] qt5: QT5_QMAKE spec bug

Julien CORJON corjon.j at ecagroup.com
Thu Jul 7 07:29:53 UTC 2016


Hi Akihiko,

-----Message d'origine-----
De : buildroot [mailto:buildroot-bounces at busybox.net] De la part de Akihiko Odaki
Envoyé : jeudi 7 juillet 2016 01:25
À : buildroot at buildroot.org
Cc : Thomas Petazzoni
Objet : Re: [Buildroot] qt5: QT5_QMAKE spec bug

ping

On 2016年06月28日 18:16, Akihiko Odaki wrote:
> Hi,
>
> I was trying to use QT5_QMAKE variable for a new package.
> http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/152724
>
> However, it failed to build. I found that it failed because -spec 
> option for cross compiling was applied for host_build. It can be fixed 
> by setting the value to QMAKE_XSPEC in qmake configuration instead of 
> using the option.
>

This is weird, QT5_QMAKE variable is already used in others packages (e.g. QWT, qt-webkit-kiosk).
If your fix work you could also change qt5xxx packages to use this variable instead of full path $(HOST_DIR)/usr/bin/qmake

> I'm making a patch to apply the change, but I have a question. Now 
> QT5_QMAKE variable has the path to qmake, but there are no variables 
> to indicate the path for other commands such as python. Should I 
> remove QT5_QMAKE variable or keep as it is?

Python and others already have their own infrastructures so they don't need this kind of stuff.
I suggest to keep it as is until someone implement an infrastructure for Qt ;-)

Regards,

Julien

>
> Regards,
> Akihiko
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot


More information about the buildroot mailing list