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

Spenser Gilliland spenser at gillilanding.com
Mon Jul 8 17:11:42 UTC 2013


Hello Prabu,

>>> >> - Can you also specify where the pvr2d.h and wsegl.h are picked up from (which Graphics SDK version) ?
>>> Ahh, this is something I missed while porting the patch. I'll have to look at this some more, these should be from the latest version.  I'll try to get qt to pick these up from $(STAGING_DIR)/usr/include .
>
>
> Thinking more on the above - Is it not possible to pick up the pvr2d.h and wsegl.h from the version of Graphics package used for building Qt itself ?

I'll be picking up wsegl.h and pvr2d.h from the
$(STAGING_DIR)/usr/include directory which is where the powervr
drivers installs these include files.

>Why does this need to be included in the patch, duplicating the file already existing in the staging area ?
>
> That will resolve the issue of mismatches once and for all.

It doesn't it was an oversight on my part when I was porting the patch
over. The new patch (attached) now removes the files from the
$(QT_SRCDIR)/src/3rdparty/powervr/{wsegl.h,pvr2d.h} files which should
allow the compiler to find them in the $(STAGING_DIR)/usr/include
directory.

However after removing the files, I'm getting segfaults on all demos
when powervr.ini has WindowSystem=libpvrQWSWSEGL.so.1
(WindowSystem=libpvrPVR2D_FRONTWSEGL.so works fine).  What is the best
method for debugging this further?

Attached is the patch.  To test you can remove the qt-wsegl2.patch and
qt-pvrqwswseql.patch patches and install the attached patch into the
package/qt directory. In addition, you must have the current ti-gfx
patch applied.

Thanks,
Spenser

--
Spenser Gilliland
Computer Engineer
Doctoral Candidate
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qt-eglwsegl-use-system.patch
Type: application/octet-stream
Size: 26335 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130708/c6c6c11c/attachment-0002.obj>


More information about the buildroot mailing list