On Monday 14 September 2009 18:53:19 Martin Koller wrote:
> Hi,
> 
> I'm testing openVG on a freescale i.mx35 embedded Linux device.
> My current results are not overwhelming, 
<snip>

OK, so it seems the performance is the same as before, as my Qt setup does 
simply not use the openVG 
graphicssystem.

I checked with a small testprogram and printed the value of 
painter.paintEngine()->type() which is always 
QPaintEngine::Raster, even if I pass -graphicssystem OpenVG

As the documentation is also not really elaborate on this, I hope someone from 
the Trolls can answer my 
questions:

- The configure help does not tell me anything about openvg, but I found the 
openvg.html file, which simply 
says: "...passing the -openvg option to configure"
 This is what I did.

However, the openvg help page also talks about an openVG plugin - but there is 
no plugin built.
Is it possible that building the QWS Qt version does not build a plugin but 
compiles openVG support directly 
into Qt ?

Still I have tried to qmake/make the openvg plugin separately and installed the 
plugin on the embedded device.
Checking on the device with
ldd -r graphicssystems/libqvggraphicssystem.so
however gives some errors:

undefined symbol: _ZNK21QGraphicsSystemPlugin10metaObjectEv     
(graphicssystems/libqvggraphicssystem.so)
undefined symbol: _ZN21QGraphicsSystemPlugin11qt_metacastEPKc   
(graphicssystems/libqvggraphicssystem.so)
undefined symbol: 
_ZN21QGraphicsSystemPlugin11qt_metacallEN11QMetaObject4CallEiPPv      
(graphicssystems/libqvggraphicssystem.so)
undefined symbol: _ZTI21QGraphicsSystemPlugin   
(graphicssystems/libqvggraphicssystem.so)
undefined symbol: _ZN21QGraphicsSystemPluginD2Ev        
(graphicssystems/libqvggraphicssystem.so)
undefined symbol: _ZN21QGraphicsSystemPluginC2EP7QObject        
(graphicssystems/libqvggraphicssystem.so)

What can I do to make openVG being used on my device ?
What information do you need in addition ?

Here is my configure script:

cd qt-everywhere-commercial-src-4.6.0-tp1

OPTIONS="-no-xmlpatterns -no-phonon -no-phonon-backend -no-script 
-no-scripttools -no-dbus \
         -no-multimedia -no-webkit -no-decoration-windows -no-nis 
-no-accessibility -no-stl -no-libtiff \
         -no-exceptions -no-cups -no-iconv"

export CROSS_COMPILE=armVFP-linux-
export 
PATH=`pwd`/bin:/media/disk/ARM-ELDK/ELDK/usr/bin:/media/disk/ARM-ELDK/ELDK/bin:$PATH

./configure -verbose -prefix /media/disk/ARM-ELDK/workspace/ExternLibs/Qt4 \
  -nomake examples -nomake demos -nomake docs -nomake translations \
  -release $OPTIONS -no-rpath \
  -embedded arm -xplatform qws/linux-arm-g++ -little-endian -qt-freetype 
-no-opengl -no-glib \
  -qt-libjpeg -qt-libmng -qt-libpng -qt-gif \
  -opensource \
  -qt-mouse-tslib -L /media/disk/ARM-ELDK/tslib/lib/ -I 
/media/disk/ARM-ELDK/tslib/include -openvg


-- 
Best Regards/Schöne Grüße

Martin

-----------------------------------------------------------------
Ing. Martin Koller , mailto:[email protected] , http://www.etm.at
ETM professional control GmbH, A-7000 Eisenstadt Kasernenstr. 29
Phone:+43 2682/741-62603, Fax:+43 2682/741-52555
-----------------------------------------------------------------

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to