Results 1 to 6 of 6

Thread: problems about cross-compilation qte to arm

  1. #1
    Join Date
    Mar 2007
    Posts
    3
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default problems about cross-compilation qte to arm

    Hi
    I am newbie .
    I want to cross -compilation qte library,and come across difficulty,need your help,thank you

    My Linux is redhat 9,and I the crouse of compilation as followed:

    ar xfz qt-embedded-3.2.1.tar.gz
    cd qt.-embedded-3.2.1
    export QTDIR=PWD
    export QTEDIR=$QTDIR
    export PATH=$QTDIR/bin:$PATH
    export PATH=/usr/local/arm/2.95.3/bin:$PATH
    export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
    ./configure –xplatform qws/linux-arm-g++ –qvfb –depths 4,8,16,32 -thread

    the error I came across:

    /usr/local/arm/2.95.3/arm-linux/bin/ld: cannot find -lqassistantclient
    collect2: ld returned 1 exit status
    make[3]: *** [helpdemo] Error 1
    make[3]: Leaving directory `/usr/local/QTarm/qt-embedded-free-3.2.1/examples/helpdemo'
    make[2]: *** [sub-helpdemo] Error 2
    make[2]: Leaving directory `/usr/local/QTarm/qt-embedded-free-3.2.1/examples'
    make[1]: *** [sub-examples] Error 2
    make[1]: Leaving directory `/usr/local/QTarm/qt-embedded-free-3.2.1'
    make: *** [init] Error 2

    I appriciating your answer,thank you

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: problems about cross-compilation qte to arm

    Don't compile the demos . (Since it gets stuck there ). There should be an option to skip the demos.

    Marcel

  3. #3
    Join Date
    Mar 2007
    Posts
    3
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Re: problems about cross-compilation qte to arm

    For days I still don't know how to solve the problem,who can help me?thank you!

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 975 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: problems about cross-compilation qte to arm

    Try "make sub-src" instead of "make".

  5. #5
    Join Date
    Mar 2007
    Posts
    3
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Re: problems about cross-compilation qte to arm

    I compiled it by "make sub-src", and didn't come across the problem.But it didn't compiled the examples included in qt/e.why?

    Thanks

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 975 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: problems about cross-compilation qte to arm

    Quote Originally Posted by slient View Post
    But it didn't compiled the examples included in qt/e.why?
    Because "make sub-src" compiles only Qt.

Similar Threads

  1. Replies: 2
    Last Post: 8th March 2007, 22:22
  2. Replies: 1
    Last Post: 19th January 2007, 11:27
  3. QT4 Plugins - problems, problems
    By NormanDunbar in forum Qt Programming
    Replies: 6
    Last Post: 9th May 2006, 15:39
  4. [Win32/VC++ 8.0] Strange problems with qrc_*.cpp files
    By mloskot in forum Installation and Deployment
    Replies: 6
    Last Post: 6th March 2006, 10:28

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.