[Buildroot] [PATCH v5 1/2] qt5base: Fix inconsistencies when overriding qmake properties

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sat Aug 17 21:59:07 UTC 2019


Hello Andreas,

On Mon, 15 Apr 2019 22:56:21 +0200
Andreas Naumann <anaumann at ultratronik.de> wrote:

> When querying the qmake properties with our custom qt.conf present, I noticed
> that they were different from the built-in ones (without qt.conf).
> Most notably QT_INSTALL_PREFIX was a concatenated string of two absolute pathes
> (hostdir + sysroot).
> 
> This is due to Prefix being set to our HOST_DIR and HostPrefix not being set at
> all. I guess this was also the root cause of the initial problem with
> qt.conf.in, because once Prefix and HostPrefix were set to their correct values,
> re-setting all the other default pathes became obsolete. (However, since our
> pathes for Headers, Plugins and Examples are non-default, they still have to be
> explicitely set.)
> 
> There is one exception to this: Omitting 'Settings' leads to the CONFIGURATION
> path being plain /usr, whereas the default without qt.conf is /usr/etc/xdg. But
> even if storing configs directly under /usr seems a bit strange we keep it that
> way, so the behaviour of "our" qmake doesnt change.
> 
> Signed-off-by: Andreas Naumann <anaumann at ultratronik.de>

I'm not sure if it's related to this commit, but some users are
complaining about QML applications not working anymore:

  https://bugs.busybox.net/show_bug.cgi?id=11926

Could you have a look at this bug report ? I wanted to re-assign the
bug to you, but it seems like you don't have a Bugzilla account.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list