[Buildroot] [PATCH] qt5: install headers into /usr/include/qt5
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue Dec 24 07:47:20 UTC 2013
Dear Fatih Aşıcı,
On Tue, 24 Dec 2013 08:53:57 +0200, Fatih Aşıcı wrote:
> There are places in Qt's source where headers included with the name of
> the module subdirectory (e.g. #include <QtCore/QHash>). Therefore, the
> build system passes the top header directory to the compiler; but this
> results in a error when building host tools since sysroot/usr/include
> directory includes architecture specific system headers.
>
> In order to prevent this, install all Qt headers into a subdirectory in
> /usr/include.
>
> Fixes: http://autobuild.buildroot.net/results/4f1/4f16c0b38bdd6e40efcc781c12fae81c0bfabb72/
>
> Signed-off-by: Fatih Aşıcı <fatih.asici at gmail.com>
With this change, what does the compilation command line of host tools
look like?
To me, this change seems more like work-arounding a problem in the Qt
build system rather than a real fix.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list