I think you should recompile qt passing the options. -system-libpng to use the libpng from you host.
On Tue, Oct 19, 2010 at 7:48 AM, rashmi yadav <rashufa...@gmail.com> wrote: > dear all, > > i have installed qt on top of directfb-1.4.1 sucessfully with no errors but > i am not able to enable html5 support in qt-webkit. > > qt version= qt-everywhere-opensource-src-4.7.0-rc1.tar.gz > directfb version =directfb-1.4.1 > > *configuration parameters are like this:* > > ./configure -opensource -shared -no-exceptions -no-accessibility > -no-qt3support -qt-zlib -qt-libtiff -qt-libpng -qt-libmng -qt-libjpeg > -qt-sql-sqlite -qt-gif -verbose -qt-freetype -depths all > -plugin-gfx-directfb -prefix /usr/Trolltech/QtEmbedded-4.6-directfb -webkit > -no-xmlpatterns -svg -no-scripttools -stl -glib -no-openssl -no-nis -no-cups > -no-iconv -platform qws/linux-x86-g++ -no-opengl -embedded x86 -no-openvg > -no-sm -no-xshape -no-xsync -xinerama -no-xcursor -no-xfixes -no-xrandr > -no-xrender -no-mitshm -no-fontconfig -no-xinput -no-xkb -no-sql-sqlite2 > -no-gfx-linuxfb -qt-gfx-directfb -no-gfx-multiscreen -multimedia -phonon > -phonon-backend > > *and my output when i compile browser program is as below:* > > r...@lxdevenv:/usr/qt-everywhere-opensource-src-4.7.0-rc1/demos/browser#./browser > -qws > > ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.0 |~~~~~~~~~~~~~~~~~~~~~~~~~~ > (c) 2001-2009 The world wide DirectFB Open Source Community > (c) 2000-2004 Convergence (integrated media) GmbH > ---------------------------------------------------------------- > > (*) DirectFB/Core: Multi Application Core. (2010-10-11 05:51) > (*) Fusion/SHM: Using MADV_REMOVE (2.6.24.0 >= 2.6.19.2) > (*) Direct/Thread: Started 'Fusion Dispatch' (6646) [MESSAGING OTHER/OTHER > 0/0] <8388608>... > (*) Direct/Thread: Started 'Virtual Input' (-1) [INPUT OTHER/OTHER 0/0] > <8388608>... > (*) DirectFB/Input: Virtual Input 0.4 (Convergence GmbH) > (*) Direct/Thread: Started 'X11 Input' (-1) [INPUT OTHER/OTHER 0/0] > <8388608>... > (*) DirectFB/Input: X11 Input 0.1 (directfb.org) > (*) DirectFB/Genefx: MMX detected and enabled > (*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (directfb.org) > (*) DirectFB/Core/WM: SaWMan 0.2 (directfb.org) > (*) SaWMan: Initializing stack 0x20127900 for tier 0x25583000, 0x0, layer > 0, context 0x20017000 [3]... > (*) SaWMan/Init: Layer 0: 840x840, ARGB, options: 0 > (*) SaWMan/Init: Border 0: 840x840, ARGB, options: 8 > (!!!) *** WARNING [letting unprivileged > IDirectFBDisplayLayer::GetSurface() call pass until cooperative level > handling is finished] *** [idirectfbdisplaylayer.c:174 in > IDirectFBDisplayLayer_GetSurface()] > (*) Direct/Thread: Started 'EventBufferFeed' (6649) [MESSAGING OTHER/OTHER > 0/0] <8388608>... > (*) Direct/Thread: Started 'EventBufferFeed' (6650) [MESSAGING OTHER/OTHER > 0/0] <8388608>... > (*) Direct/Interface: Loaded 'PNG' implementation of > 'IDirectFBImageProvider'. > libpng warning: Application was compiled with png.h from libpng-1.2.15beta5 > libpng warning: Application is running with png.c from libpng-1.4.0 > libpng warning: Incompatible libpng version in application and library > (#) DirectFBError [QDirectFBPixmapData::fromDataBufferDescription(): Can't > create image provider]: General failure! > libpng warning: Application was compiled with png.h from libpng-1.2.15beta5 > libpng warning: Application is running with png.c from libpng-1.4.0 > libpng warning: Incompatible libpng version in application and library > (#) DirectFBError [QDirectFBPixmapData::fromDataBufferDescription(): Can't > create image provider]: General failure! > libpng warning: Application was compiled with png.h from libpng-1.2.15beta5 > libpng warning: Application is running with png.c from libpng-1.4.0 > libpng warning: Incompatible libpng version in application and library > (#) DirectFBError [QDirectFBPixmapData::fromDataBufferDescription(): Can't > create image provider]: General failure! > libpng warning: Application was compiled with png.h from libpng-1.2.15beta5 > libpng warning: Application is running with png.c from libpng-1.4.0 > libpng warning: Incompatible libpng version in application and library > (#) DirectFBError [QDirectFBPixmapData::fromDataBufferDescription(): Can't > create image provider]: General failure! > libpng warning: Application was compiled with png.h from libpng-1.2.15beta5 > libpng warning: Application is running with png.c from libpng-1.4.0 > libpng warning: Incompatible libpng version in application and library > (#) DirectFBError [QDirectFBPixmapData::fromDataBufferDescription(): Can't > create image provider]: General failure! > (*) Direct/Interface: Using 'GIF' implementation of > 'IDirectFBImageProvider'. > (*) X11/Display: Using XShm. > X Error of failed request: BadMatch (invalid parameter attributes) > Major opcode of failed request: 144 (MIT-SHM) > Minor opcode of failed request: 3 (X_ShmPutImage) > Serial number of failed request: 79 > Current serial number in output stream: 80 > (!!!) *** WARNING [Application exited without deinitialization of > DirectFB!] *** [core.c:859 in dfb_core_deinit_check()] > > can someone help me please. im stuck with this since a week. i want to some > how enable html5 support in qt-webkit > > _______________________________________________ > directfb-users mailing list > directfb-users@directfb.org > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users > > -- * _ _ _ _ _ | || |__ _(_) |_| |_ ___ _ __ | __ / _` | | _| ' \/ -_) ' \ |_||_\__,_|_|\__|_||_\___|_|_|_| *
_______________________________________________ directfb-users mailing list directfb-users@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users