qt5base: adjust linux-buildroot-g++ qmake.conf
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 7 Apr 2013 09:57:17 +0000 (09:57 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 11 Apr 2013 14:11:21 +0000 (16:11 +0200)
commit92a0a1089134f18399b9b4f84ef341dac20c40d2
treed875105ea83fbfad08bb4530bd1d85241911de57
parent186ef9f6f4647ed34b67a3427a5e0e249f0794e7
qt5base: adjust linux-buildroot-g++ qmake.conf

In order for qmake to generate correct moc command lines, we need to
make sure INCLUDEPATH contains $(STAGING_DIR)/usr/include. To do so,
we add a new line in our custom qmake.conf.

Also, in order to clearly identify the Buildroot specific variables
from the qmake standard variables, we prefix all the custom Buildroot
variables by BUILDROOT_ in qmake.conf.

This solves compilation issues of qt5svg such as "Undefined
interface", due to the fact that moc isn't passed a -I path pointing
to the main header directory.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/qt5/qt5base/qt5base-mkspecs-files.patch
package/qt5/qt5base/qt5base.mk