From dacc0a44acefefec47d9a90d928b03e6f88e17fe Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fatih=20A=C5=9F=C4=B1c=C4=B1?= Date: Tue, 24 Dec 2013 08:53:57 +0200 Subject: [PATCH] qt5: install headers into /usr/include/qt5 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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ı Signed-off-by: Thomas Petazzoni --- package/qt5/qt5base/qt5base.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/qt5/qt5base/qt5base.mk b/package/qt5/qt5base/qt5base.mk index 1b753d3f5b..e46bdebe55 100644 --- a/package/qt5/qt5base/qt5base.mk +++ b/package/qt5/qt5base/qt5base.mk @@ -159,6 +159,7 @@ define QT5BASE_CONFIGURE_CMDS -v \ -prefix /usr \ -hostprefix $(HOST_DIR)/usr \ + -headerdir /usr/include/qt5 \ -sysroot $(STAGING_DIR) \ -plugindir /usr/lib/qt/plugins \ -no-rpath \ -- 2.30.2