[Interest] Build webkit with QT for Embedded Linux!

Mandeep Sandhu mandeepsandhu.chd at gmail.com
Fri May 18 15:54:08 CEST 2012


On Fri, May 18, 2012 at 5:56 PM, Lata Agrawal
<lata.agrawal at enrouteinc.com> wrote:
> I pointed my webkit browser http://www.barackobama.cm/life-of-julia. When I
> execute cross-compiled app on Embedded device, it doesn't display anything
> but on Linux-x86, it loads fine.
> If you don't mind, can you send me the configure command you are using and
> also which gcc version you are using to cross-compile.

Our configure script is run with the following options:
-force-pkg-config \
        -opensource \
        -prefix $(INSTALL_DIR) \
        -release \
        -embedded mips \
        -webkit \
        -xplatform qws/<path to my platform vendors mkspecs> \
        -little-endian \
        -no-nis \
        -no-cups \
        -dbus \
        -openssl-linked \
        -qt-freetype \
        -plugin-gfx-directfb \
        -qt-kbd-tty \
        -qt-kbd-linuxinput \
        -qt-mouse-pc \
        -qt-mouse-linuxinput \
        -no-gfx-transformed \
        -no-gfx-multiscreen \
        -no-qt3support \
        -no-accessibility \
        -no-xmlpatterns \
        -nomake tools \
        -nomake docs \
        -nomake examples \
        -nomake demos \
        -nomake translations \
        -fast \
        -v

gcc version 4.3.2 (from CodeSourcery )

>
> Do you find anything wrong in the configure command I am using?

You have not used the -webkit, then how is it building the webkit
module for you? Have you verified if the module is indeed built for
your target platform?

What app are you using for the browser? You can try the browser from
either demos or examples (u'll have top build them manually since you
have demos and example build disabled by your configure script).

HTH,
-mandeep

>
> -Lata
>
>
> On 18 May 2012 17:48, Mandeep Sandhu <mandeepsandhu.chd at gmail.com> wrote:
>>
>> On Fri, May 18, 2012 at 5:10 PM, Lata Agrawal
>> <lata.agrawal at enrouteinc.com> wrote:
>> > Do I need to build it in release it by explicitly using -release switch?
>>
>> It'll be better to build it in release mode unless you're planning to
>> debug the Qt itself. It'll also reduce the size of the built libraries
>> by a good amount. This is important especially on embedded boards
>> which have slower processors.
>>
>> We too are running Qt 4.6.2 on an embedded MIPS board and webkit works
>> fine while rendering webpages. BTW, what specific HTML5 tag is being
>> used in your test HTML5 page?
>>
>> You can run a test of what all HTML5 tags are supported by your
>> QtWebkit by pointing your browser to www.html5test.com.
>>
>> HTH,
>> -mandeep
>>
>> >
>> > -Lata
>> >
>> >
>> > On 18 May 2012 16:57, Lata Agrawal <lata.agrawal at enrouteinc.com> wrote:
>> >>
>> >> Hi Mandeep,
>> >>
>> >> Thanks for replying. I am simple interactive web pages, no video or
>> >> audio.
>> >> App works fine on Linux-x86 but same app when cross-compiled for
>> >> Linux/MIPS
>> >> doesn't show anything at all on screen. Do I need to add any feature
>> >> while
>> >> cross-compiling QT to be able to load HTML5 pages using Qtwebkit?
>> >>
>> >> Regards,
>> >> Lata
>> >>
>> >>
>> >> On 18 May 2012 16:52, Mandeep Sandhu <mandeepsandhu.chd at gmail.com>
>> >> wrote:
>> >>>
>> >>> > I want to display HTML5 pages using QTWebkit module. I am able to
>> >>> > execute
>> >>> > the webkit application on Linux-x86 and it loads the HTML5 page
>> >>> > perfectly
>> >>> > fine. But when I cross-compile the same application for Linux/MIPS
>> >>> > device
>> >>> > and execute the app on device, it doesn't show anything.
>> >>>
>> >>> What sort of content is being shown n this web-page? Does it load
>> >>> anything at all?
>> >>>
>> >>> Does the page having audio/video tags? If so, then that part won't
>> >>> work since that depends on phonon and you have disabled it in your
>> >>> build.
>> >>>
>> >>> -mandeep
>> >>
>> >>
>> >>
>> >>
>> >> --
>> >>
>> >> Lata Agrawal
>> >> 9699750643
>> >> En Route Media Pvt. Ltd.
>> >>
>> >> En Route are the winners of the E4M OOH Award for Innovative Creation
>> >> of a
>> >> New Medium
>> >>
>> >>
>> >
>> >
>> >
>> > --
>> >
>> > Lata Agrawal
>> > 9699750643
>> > En Route Media Pvt. Ltd.
>> >
>> > En Route are the winners of the E4M OOH Award for Innovative Creation of
>> > a
>> > New Medium
>> >
>> >
>
>
>
>
> --
>
> Lata Agrawal
> 9699750643
> En Route Media Pvt. Ltd.
>
> En Route are the winners of the E4M OOH Award for Innovative Creation of a
> New Medium
>
>



More information about the Interest mailing list