[Qt-interest] Qt/X11 cross compilng for ARM

umang gupta umang.ece at gmail.com
Sat Oct 23 08:55:21 CEST 2010


Re-Sending to Qt-interest List .

On Sat, Oct 23, 2010 at 12:10 PM, umang gupta <umang.ece at gmail.com> wrote:

> HI ,
>
> I am trying to cross compile Qt-X11 for arm .
>
> arm toolchain path  export
> PATH=$PATH:/opt/CodeSourcery/Sourcery_G++_Lite/bin/
> Modified mkspecs/qws/linux-arm-gnueabi-g++/qmake.conf to include :
> QMAKE_CC                = arm-none-linux-gnueabi-gcc
> QMAKE_CXX               = arm-none-linux-gnueabi-g++
> QMAKE_LINK              = arm-none-linux-gnueabi-g++
> QMAKE_LINK_SHLIB        = arm-none-linux-gnueabi-g++
>
> # modifications to linux.conf
> QMAKE_AR                = arm-none-linux-gnueabi-ar cqs
> QMAKE_OBJCOPY           = arm-none-linux-gnueabi-objcopy
> QMAKE_STRIP             = arm-none-linux-gnueabi-strip
>
> Now I am cross compiling using command :
> ./configure -arch arm -xplatform qws/linux-arm-gnueabi-g++
>
> It gives error :
>
> Creating qmake. Please wait...
> make: Nothing to be done for `first'.
> Basic XLib functionality test failed!
>  You might need to modify the include and library search paths by editing
>  QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in
> /home/umang/qtarmsrc/qt-everywhere-opensource-src-4.7.0/mkspecs/qws/linux-arm-gnueabi-g++.
>
>
> So I include in qmake.conf these :
> QMAKE_INCDIR_X11        = /media/LABEL2/usr/X11R6/include/
> QMAKE_LIBDIR_X11        = /media/LABEL2/usr/X11R6/lib/
>
> /media/LABEL2 is my target File system where X libraries and headers are
> present .
>
> But still compilation is giving same error ..
>
> Any Help will be appreciated .
>
> Thanks ;
> Umang Gupta
>
>


-- 
Yours :
Umang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101023/cfc8c17e/attachment.html 


More information about the Qt-interest-old mailing list