[Development] [Qt5 beta]Incorrect install path & cross-compile for MIPS

Fred Fung duoduo1097 at gmail.com
Mon Jul 23 17:08:14 CEST 2012


Dear all:

    I downloaded qt5 beta source code in
http://releases.qt-project.org/qt5.0/beta-snapshots/2012-07-20_19-02-20/.
I'm trying to build Qt5 on ubuntu 12.04 with the following command:
======================================
configure  -prefix /home/ff/dist -sysroot /usr/tc/sysroot ...etc...
perl build -j 4
======================================
I found Qt will be installed to /usr/tc/sysroot/home/ff/dist (seems like
$SYSROOT/$PREFIX).

Is there anything I missed, or Qt5's bug?

And how can I cross compile Qt5 for MIPS base platform.I can't find mkspec
for MIPS in qtbase/mkspec folder,but a mkspec for ARM  exists. I copied the
linux-g++ folder, renamed it to linux-mips-g++, modified qmake.conf (gcc ->
mips-linux-gnu-gcc,  ...) .When I use configure -xplatform linux-mips-g++,
it tell me unsupported mkspec.
(In Qt4, It's $(SRC)/mkspec/qws/linux-mips-g++.)

Please help me , thanks.

best regards,fred fung
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120723/29649836/attachment.html>


More information about the Development mailing list