Qt Creator Embedded Debugging Setup

From Texas Instruments Wiki
Jump to: navigation, search


Integrating QT Creator into your SDK

The Sitara Linux Bootcamp training series includes a Hands on with QT session. You can find the entire training list here: Sitara Linux Boot Camp Training

Here is a direct link to the Hands on with QT training module: Sitara Linux Training: Hands on with QT

  • Lab 1: Is a introduction to components of the Sitara SDK that may be helpful to understand the QT Creator integration
  • Lab 2: Will show you how to integrate QT Creator in to the Sitara SDK. After this session, you should be able to build code, automatically copy code to the target and run and debug.
  • Remaining Labs 3+: More indepth training on GUI development.



If not using the Sitara SDK, then some extra steps may be required

If not using the Sitara SDK, then full integration may not exist.

  • You may need to check for the qt.conf file as indicated in the section below
  • You may need the dropbear utility integrated into your Linux filesystem in order to be able to automatically copy your binaries over to your target filesystem.



Checking the qt.conf file exists

The qt.conf file allows Qt Creator to find the necessary headers and libraries that are needed for a Qt 4.7.2 version. This file may not be included in the EZSDK so make sure that qt.conf is under EZSDK/linux-devkit/bin.

If the file is missing then in a terminal navigate in the EZSDK to linux-devkit/bin.

EZSDK/linux-devkit/bin#$ vi qt.conf

Now copy and paste the text in below, (hint press "i" before pasting)

[Paths]
Prefix = $(SDK_PATH)
Libraries = $(OE_QMAKE_LIBDIR_QT)
Headers = $(OE_QMAKE_INCDIR_QT)