[Development] Checking out Qt 5.0.2 sources

Tomasz Olszak olszak.tomasz at gmail.com
Tue Jul 2 14:11:14 CEST 2013

2013/7/1 Tomasz Olszak <olszak.tomasz at gmail.com>

> 2013/7/1 Giuseppe D'Angelo <dangelog at gmail.com>
>> On 1 July 2013 16:14, Tomasz Olszak <olszak.tomasz at gmail.com> wrote:
>> > I can't build it on mipsel(some errors with PCRE) architecture and
>> currently
>> > don't have time to investigate it.
>> And, by any chance, do you have the error messages you got when
>> building on mipsel?
>> --
>> Giuseppe D'Angelo
> Build targets are customized for different defines. Currently it doesn't
> build for one of them. So it is not only mipsel related but rather
> Now I am not able to paste error, I will investigate it tomorrow and send
> an update.
> However in my opinion using older Qt version than current one should be a
> little bot more systemized. I asked about it few months ago in
> http://lists.qt-project.org/pipermail/development/2013-March/010438.html when
> I analysed qt-project workflow for adopting it in different project and
> noticed that this case was not covered.
> regards
> Tomasz Olszak

So tried once again with 5.1.

Problem was related to -std=c99 flag:

-I/home/user/workspace/rootfs/BCM97356/usr/include -I. -o
In file included from
In function 'sljit_cache_flush':
warning: implicit declaration of function '__clear_cache'
In file included from
In function 'sljit_is_fpu_available':
warning: implicit declaration of function 'asm'
error: expected ')' before ':' token
make[3]: *** [.obj/release-shared/pcre16_jit_compile.o] Błąd 1

I added
QMAKE_CFLAGS+= -std=gnu99 (for using asm function in PCRE)
QMAKE_CXXFLAGS += -std=c++98
 and it now compiles. As an excuse I would like to inform that sysroot I am
working with is VERY inconsistent... forget about adding

There are tens of different paths and defines. So I built some examplary
appllication with platform makefile based build system and copied
includepaths, defines and compiler flags from make VERBOSE=1 command to
qmake.conf. It compiled.

In the end however I have encounter:

I made some investigation and currently qtjsbackend is broken on mips
architecture. v8 need to be updated(see my comment in mentioned task).

regards / pozdrawiam, Tomasz Olszak
Qt for Tizen | http://qt-project.org/wiki/Tizen
Qt Certified Developer | http://qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130702/86b0c892/attachment.html>

More information about the Development mailing list