[webkit-qt] 504M of libqtwebkit (harmattan)? Is it linking to Qt statically?

Harri Pasanen grego at mpaja.com
Sat Apr 14 07:32:00 PDT 2012


Or just run strip:

QtSDK/Madde/targets/harmattan_10.2011.34-1_rt1.0/bin/strip 
libQtWebKit.so.4.8.1



On 04/14/2012 11:32 AM, simon.hausmann at nokia.com wrote:
> You may have to strip the library with -g in order to reach the target size.
>
> Simon
>
> --
> Sendt fra min Nokia N914.04.12 04:40 skrev ext Felipe Crochik:
> I am trying to build the same webkit distributed with harmattan SDK so I can set the "installation"  to a different folder and hopefully get my application to use it instead of the one distributed with PR1.2 and installed on /usr/lib.
>
> I managed to build it using:
> ./build-webkit --qt --install-headers=/opt/GApp/include --install-libs=/opt/GApp/lib
>
> And everything seems OK other than the resulting lib is 504M while the "same library" from the repository is just 18M. Do I need to do anything special to build webkit linking to the "available Qt" dynamically? Or...What am I doing wrong this time?
>
> [sbox-HARMATTAN_ARMEL: ~/qtwebkit-2.1.1~git20110418/WebKitBuild]>  ls GApp/lib/ -l -h
> total 504M
> -rw-r--r-- 1 felipe felipe  577 Apr 13 08:38 libQtWebKit.prl
> lrwxrwxrwx 1 felipe felipe   20 Apr 13 08:38 libQtWebKit.so ->  libQtWebKit.so.4.8.1
> lrwxrwxrwx 1 felipe felipe   20 Apr 13 08:38 libQtWebKit.so.4 ->  libQtWebKit.so.4.8.1
> lrwxrwxrwx 1 felipe felipe   20 Apr 13 08:38 libQtWebKit.so.4.8 ->  libQtWebKit.so.4.8.1
> -rwxr-xr-x 1 felipe felipe 504M Apr 13 08:38 libQtWebKit.so.4.8.1
> drwxrwxr-x 2 felipe felipe 4.0K Apr 13 08:38 pkgconfig
>
>
> p.s. I am sorry to ask so many questions in such a small period of time but I am trying to work around the PR1.2 issue and can't find much of any information about (re)building (qt)webkit.
>
> Thanks in advance (again),
> Felipe
> _______________________________________________
> webkit-qt mailing list
> webkit-qt at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt



More information about the webkit-qt mailing list