Results 1 to 7 of 7

Thread: how to build qt applications for arm specific target boards

  1. #1
    Join Date
    Nov 2011
    Posts
    3
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default how to build qt applications for arm specific target boards

    Hi all,

    I have installed QT-4.6.0 linux version in my pc. Qt target version is running successfully on the target boards. Now I am trying to build my own arm specific applications for the target boards. But I am not able to do the cross compile versions for the applications. Can anybody please help me how can I do the cross compile for the application to run successfully on the target boards.

    Thanks in advance

  2. #2
    Join Date
    Jul 2011
    Posts
    12
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: how to build qt applications for arm specific target boards

    First you need to set-up root file system,cross compiled libraries, and tool chain(ex:arm-g++) of your target on your developing environment(i.e on your desktop).

  3. #3
    Join Date
    Nov 2011
    Posts
    3
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: how to build qt applications for arm specific target boards

    hi,

    Thanks for the reply. I have already done the RFS cross compilation tool for arm specific target version. This arm specific version is successfully running on the target board. Now I am deploying small application on the target board. The application runs on the desktop pc. But I am finding difficult when I try to cross compile the application for the arm specific version. Can you please guide me regarding this.




    Quote Originally Posted by raghavendraningoji View Post
    First you need to set-up root file system,cross compiled libraries, and tool chain(ex:arm-g++) of your target on your developing environment(i.e on your desktop).

  4. #4
    Join Date
    Jul 2011
    Posts
    12
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: how to build qt applications for arm specific target boards

    "I am finding difficult when I try to cross compile the application for the arm specific version"
    I just wanted to know exactly what difficulty ,you are facing.Could you plz elaborate what's exactly happening..?

  5. #5
    Join Date
    Nov 2011
    Posts
    3
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: how to build qt applications for arm specific target boards

    Just i dont knw how to do the qmake for arm specific version.

    Quote Originally Posted by raghavendraningoji View Post
    "I am finding difficult when I try to cross compile the application for the arm specific version"
    I just wanted to know exactly what difficulty ,you are facing.Could you plz elaborate what's exactly happening..?

  6. #6
    Join Date
    Nov 2011
    Location
    India
    Posts
    8
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: how to build qt applications for arm specific target boards

    Well it depends what IDE you are using, i'll tell you how to setup the Qt Creator.

    1. Define the tool chain to cross compile the code, i.e add the cross compiler. Do that in Tool -> options -> Tool Chains.
    2. Now you have to add cross compiled Qt in the Tools->options->Qt4, it should be auto detected if the path of qmake is in the PATH variable or manualy do that.
    3. Now when you create and application, i.e. new project in QT creator in the target setup dialog ->create build configuration-> You can setup the builds either for embedded only by selecting manual or select to create build for each Qt version configured.
    4. While building the project switch from desktop build to embedded build from projects->Edit build configuration

    Note: You may have to explicitly specify your cross compiler in the projects settings by providing additional arguments eg -spec linux-arm-g++

    Hope this helps

  7. #7
    Join Date
    May 2013
    Posts
    3
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Android

    Default Re: how to build qt applications for arm specific target boards

    Hi,
    I am also facing the same problem .
    I wanted to build my QT apps for Xilinx board(ARM arch) so how I could proceed for the same.

Similar Threads

  1. need help for qt4.7 with tslib on mips target for qt/qml applications .
    By vimalkumarkpit in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 29th July 2010, 09:08
  2. How to configure/build 64-bit applications on Mac?
    By iraytrace in forum Qt Programming
    Replies: 1
    Last Post: 30th January 2010, 22:52
  3. Static build of Qt-embedded applications
    By cloud in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 8th January 2010, 12:29
  4. Problem with build/execution of WinCE application on target device
    By marlag in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 21st July 2009, 14:33
  5. Can i use visual studio 2005 to build Qt applications?
    By coder1985 in forum Qt Programming
    Replies: 1
    Last Post: 14th November 2007, 18:23

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
  •  
Qt is a trademark of The Qt Company.