From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Tue, 24 Dec 2013 08:47:20 +0100 Subject: [Buildroot] [PATCH] qt5: install headers into /usr/include/qt5 In-Reply-To: <1387868037-31734-1-git-send-email-fatih.asici@gmail.com> References: <1387868037-31734-1-git-send-email-fatih.asici@gmail.com> Message-ID: <20131224084720.55ea41c3@skate> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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 ). 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? 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