Results 1 to 2 of 2

Thread: AM335x development board [armv7l] - QT cross compiler

  1. #1
    Join Date
    May 2017
    Qt products

    Default AM335x development board [armv7l] - QT cross compiler

    Hi all,

    First of all I want to tell everybody that I'm new to cross compiling with QT.

    I want to learn how to cross compile qt code on my desktop (ubuntu 12.04) to an AM335x [armv7l] development board from GOEMBED. (
    I'm using QTCreator 2.6.2 based on Qt4.8.3

    Now I wrote some very simple c++ code example to test that I'm able to cross compile and send the code to the development board.
    For this test I used the following cross compiler: arm-2014.05 ( which was recommended by the vendor.
    So this all worked like a charm!

    Now the next step in the learning process is how to cross compile code written in QT.
    So I was searching the internet to find a good cross compiler for this, but can't seem to find one.
    Like I already said, I'm learning this, so it's probably something stupid that I'm looking over.

    I followed the following tutorial on how to cross compile for beaglebone, which was already very helpfull to understand the basics, but now I need to find out how to do it by my self.

    I hope somebody is able to help me, or knows which cross compiler I should use.

    Kind regards,

  2. #2
    Join Date
    Dec 2015
    Qt products
    Qt4 Qt5 Qt/Embedded
    Unix/X11 Windows

    Default Re: AM335x development board [armv7l] - QT cross compiler


    You should follow your board SDK documantation. All I can help is this:

    Step 1:
    You need to create a script to open Qt. Example:
    #!/bin/bash -e
    set -v
    source /home/your_user_name/your_sdk_folder_name/linux-devkit/environment-setup
    exec $SHELL

    /linux-devkit/ is holds the sdk for cross compile. After creating a script run with terminal.

    Step 2:
    When Qt opens you should go to Tools - Options. Go to Device tab and create a device for your board.


    Step 3:
    Go to Build and Run tab and create a compiler for your board.
    Example Path:
    /home/your_user_name/your_sdk/ linux-devkit/arm-arago-linux-gnueabi/bin/g++


    Step 4:
    Go to Version tab and create a compiler for your board.
    /home/your_user_name/your_sdk/ linux-devkit/bin/qmake


    Step 5:
    Go to Kits tab and create a Kits for your board.


    Kind Regards

Similar Threads

  1. Virtual Keyboard for AM335x TI board....?
    By sureshmca in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 13th August 2012, 05:25
  2. Replies: 2
    Last Post: 1st May 2012, 00:19
  3. Cross compiler in Linux
    By vincat in forum Qt Programming
    Replies: 1
    Last Post: 11th June 2009, 07:14
  4. Replies: 5
    Last Post: 6th March 2009, 09:58
  5. Cross platform development
    By muhQ in forum Newbie
    Replies: 2
    Last Post: 18th June 2008, 22:06

Tags for this Thread


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.