OpenVG and Qt

Hi,

I'm trying to run the star example from Qt using OpenVG. I am using
Angstom.

I can run the OpenGL examples (hello GL) but strugle to get the OpenVG
working.
it is looking for a driver...

./star -qws -display OpenVG
OpenVG: driver not found

Of course, i have no idea how to get that driver.
I created a /etc/OpenVG.ini using libpvr2d as windowsystem. (i tried
many).
also the graphicssytem plugin is there.

how to get it to work?
thanks for any input.
phil

Hi,

I'm trying to run the star example from Qt using OpenVG. I am using
Angstom.

I can run the OpenGL examples (hello GL) but strugle to get the OpenVG
working.
it is looking for a driver...

./star -qws -display OpenVG
OpenVG: driver not found

Of course, i have no idea how to get that driver.
I created a /etc/OpenVG.ini using libpvr2d as windowsystem. (i tried
many).
also the graphicssytem plugin is there.

how to get it to work?
thanks for any input.

Hi,

To use OpenVG with QWS you need to have the corresponding OpenVG
screen driver plugin. Last time when I checked the sources, Qt didn't
have the OpenVG screen driver plugin for SGX. I'm not aware of the
state or existence of OpenVG screen driver plugin in Qt now.

If you really want to try out OpenVG then you can use QtOpenVG
graphicssystem. For that you need to build Qt with X11 backend.

regards,
Amit Pundir

now I see...

thanks for the info Amit. I'll stop looking into that and just use
OpenGL for now, ... or build my own openvg support. maybe not!

phil

Hi Phil,

If your goal is just to try OpenVG we have support for it on the beagleboard
available in our evaluation download if you want to give it a try. It's
built and tested against Angstom.

http://cranksoftware.com/services_support/beagleboard.php

Regards
Jason

Jason,

your product looks good. I'll give it a try soon.

can you state the pros and cons of your product against Qt.

thanks,
phil

Hi Philippe,
how did you get OpenGL in QT ?
I'm trying to compile Qt 4.6.3 with opengl support for BeagleBoard
(with angstrom downloaded from narcissus) but I get a lot of error.
I only compiled correctly Qt 4.5.3 with opengl.

What Qt version are you using?

The QT from narcissus already has opengl support for beagle

Yes, I know but I need to use my own qt version because I'm doing some
test and I need to use qt-creator too.
This is the procedure I use:
1) I edit qt-everywhere-opensource-src-4.6.3/mkspecs/qws/linux-arm-g++/
qmake.conf to use Angstrom sdk
1) ./configure ....options...
2) make
3) make install
4) set qt-creator to use the new qt installation on my pc (slackware
linux) to cross compile for beagleboard

This works fine for all qt version if I don't set -opengl to the ./
configure .
With -opengl the compilation fail for qt 4.6.3 but compile for qt
4.5.3.

Phil,

The biggest difference between Crank's Storyboard Suite and QT is that we
are data driven and don't require compiling.

Our goal is to provide an environment for both UI designers and embedded
engineer that is designed from the ground up for embedded systems. A widget
based C/C++ environment doesn't lend itself very well to this since only an
embedded engineer can be productive in this environment.

One big benefit is this provides a Model-View-Controller (MVC) architecture
that is completely event driven by default. Every event can cause multiple
actions which drive the UI. An action can cause a data change, screen
transition, animations, call a Lua script or send an message to an external
application over a native API. This gives a clean separation of your UI from
your business logic.

This is a good blog post on the MVC architecture and the difference from the
widget frameworks :
http://www.visionmobile.com/blog/2008/03/ui-technologies-are-trendybut-let-e
xplain-their-concepts-and-what-they-are-really-bringing/

However ignore the stuff about flash at the end and think Storyboard :slight_smile:

Regards
Jason

Jason Clarke
Crank Software Inc.
Office: 613-595-1999 ext. 512
Online: www.cranksoftware.com

Luca,

I compiled Qt 4.6.3 following:
http://processors.wiki.ti.com/index.php/Building_Qt_for_OMAP35xx_with_OpenGL_ES_accelerated_by_SGX

just use the Qt section .

Phil