[Qt-interest] building Qt for MIPS
suma s
suma_s27 at yahoo.co.in
Tue Feb 15 06:55:31 CET 2011
hai..
thank u so much for ur help..
i wish to build from source itself....
but iam facing a problem....
while building QT for MIPS.. it has a dependence over glib...
so i cross-compiled glib for MIPS.. and then iam trying to configure QT...
but the QT is unable to get the glib.. it says...
-------------------------------------------
Glib auto-detection... ()
mipsel-linux-g++ -c -pipe -mips32 -O2 -Wall -W -I../../../mkspecs/qws/linux-mips-g++ -I. -I/opt/embeddedalley/nxp_tv550/include -o glib.o glib.cpp
glib.cpp:44:18: error: glib.h: No such file or directory
glib.cpp: In function ‘int main(int, char**)’:
glib.cpp:49: error: ‘GSource’ was not declared in this scope
............
make: *** [glib.o] Error 1
Glib disabled.
Glib support cannot be enabled due to functionality tests!
Turn on verbose messaging (-v) to ./configure to see the final report.
If you believe this message is in error you may use the continue
switch (-continue) to ./configure to continue.
-----------------------------------------
any idea... as where i might be stepping wrong...
--------
Regards
Suma
--- On Tue, 15/2/11, Mandeep Sandhu <mandeepsandhu.chd at gmail.com> wrote:
From: Mandeep Sandhu <mandeepsandhu.chd at gmail.com>
Subject: Re: [Qt-interest] building Qt for MIPS
To: "suma s" <suma_s27 at yahoo.co.in>
Cc: qt-interest at qt.nokia.com
Date: Tuesday, 15 February, 2011, 10:28 AM
Please reply to the list and not to me alone...
On Mon, Feb 14, 2011 at 4:44 PM, suma s <suma_s27 at yahoo.co.in> wrote:
hai.. thanks for ur rply...but i had a question... y actually.. we need to use this " Codesourcery's MIPS toolchain" ??? in perticular???...
You don't. I was just giving an example of what I use for cross-compiling QT for a MIPS platform. You can even build the cross-compiling toolchain from source itself, though its a tedious process. Lot of people go for "pre-built" toolchains which are easier to use. Codesourcery is one such company that offers pre-built toolchains.
i mean.. is it bcoz.. its QT specific?? r v need a toolchain for crosscompiling??..iam not clear about this point... i mean i dint get u as why actually do v have to use Codesourcery's MIPS toolchain???...
No, there's nothing "QT specific" about the toolchain. The "toolchain", apart from having the cross-compiler, also have some common libraries (like libc etc) precompiled for the "target" (in your case target is your MIPS h/w). This make your job easier as you don't have to corss-compile these components.
I hope you do know why we need a cross-compiler in the first place? The corss-compiler runss on your host (which will typically be an x86) and creates binaries which can run on your target (target is mips in your case).
and how to get Codesourcery's MIPS toolchain??.. and build qt for that???
http://www.codesourcery.com/sgpp/lite/mips/portal/subscription?@template=lite
HTH,
-mandeep
if u can plz give me any such related documents or any suggestions .. that can help me in solving my questions... and building QT for MIPS.....
--------
Regards
Suma
--- On Mon, 14/2/11, Mandeep Sandhu <mandeepsandhu.chd at gmail.com> wrote:
From: Mandeep Sandhu <mandeepsandhu.chd at gmail.com>
Subject: Re: [Qt-interest] building Qt for MIPS
To: "suma s" <suma_s27 at yahoo.co.in>
Cc: qt-bugs at trolltech.com, qt-interest at trolltech.com
Date: Monday, 14 February, 2011, 4:06 PM
You should start off by getting a suitable compiler toolchain for your platform (eg: we use the Codesourcery's MIPS toolchain for crosscompilation).
For enabling/disabling QT features you can run the configure script from src root dir and choose the features you'd want. If you want to know what all options are offered by the configure script, just run it with the --help switch.
After that a simple 'make' and 'make install' should do the job. :)
HTH,
-mandeep
On Mon, Feb 14, 2011 at 3:17 PM, suma s <suma_s27 at yahoo.co.in> wrote:
hai..i want to build Qt-4.7 with GL support for MIPS platform...any body having any idea on this... or any help regarding this would be highly appreciable...
thanks in advance...
--------
Regards
Suma
_______________________________________________
Qt-interest mailing list
Qt-interest at qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110215/b8170ca7/attachment.html
More information about the Qt-interest-old
mailing list