[Buildroot] [PATCH v6 10/10] package/qt5base: provide "qt.conf" to make "qmake" relocatable
Wolfgang Grandegger
wg at grandegger.com
Wed Jul 5 15:10:11 UTC 2017
Hello,
Am 05.07.2017 um 16:48 schrieb Thomas Petazzoni:
> Hello,
>
> On Wed, 5 Jul 2017 16:33:35 +0200, Wolfgang Grandegger wrote:
>
>>> We don't want to make it configurable, through a Config.in option.
>>> However, we would like to have a separate make target that prepares the
>>> SDK, creates the tarball, etc.
>>>
>>> Basically, a normal "make" would not run all the rpath sanitization
>>> logic, absolute path replacement, etc. There should be a separate "make
>>> sdk" target that does this.
>>
>> Yes I understand, but how do you want to handle static things like the
>> creation of "qt.conf" required for the relocatable SDK?
>
> In order to make sure that the SDK situation is as close to a normal
> Buildroot usage, I think the qt.conf file should always be created and
> used by qmake. So basically, the Qt package in Buildroot should create
> and install this file.
>
> Am I missing something here?
It works here (with my usecase)! But the qmake internals are not really
transparent (not documented) and may break if new path variables are
added etc.(by Qt). But well, then we just need to fix it. Let see how
good qt.conf works...
Wolfgang.
More information about the buildroot
mailing list