[Buildroot] [PATCH v4 2/2] qt: add powervr and opengl

Spenser Gilliland spenser at gillilanding.com
Wed Jul 10 19:41:34 UTC 2013


> I don't like that this depends on the TI_GFX package. When I added powervr
> support to Qt I added a powervr virtual package the same as opengl_es or
> opengl_egl. This allows Qt to not contain anything specific to the hardware
> graphics package.

Sounds reasonable.  I'll implement it this way as I will need to do a
second package which implements the powervr functionality for the
SGX540 on Pandaboard and your Freescale patch would be great to add as

> Is this really necessary. When I got this working I instead used the
> variables provided by Qt to point it to the hardware specific headers. The
> code looks like:
> +       $(call
> +       $(call
> +       $(call
> $(STAGING_DIR)/usr/include/wsegl,$(@D))
> +endef
> +endif

I install the headers into /usr/include by default from the TI_GFX
package. As this is a default include path, they get picked up as long
as no other header files are found.  Thus, removing these files
ensures they don't get picked up.

> I have this working with both TI and freescale hardware.
> I'll check what state my patches are in and if they need rebasing against
> master and then I can post them if people would be interested.

Yea, please send them. If you feel they need additional cleanup but
you don't have time, feel free to send them to me privately and I can
get them integrated.


Spenser Gilliland
Computer Engineer
Doctoral Candidate

More information about the buildroot mailing list