Qt Creator

From ArmadeusWiki
Revision as of 19:17, 21 March 2012 by JeremieS (Talk | contribs) (Manual configuration)

Jump to: navigation, search


This page will explain how to automatically install and configure Qt Creator for Armadeus boards. It will also describe the way to use GDB in Qt Creator for remote applications.



  • Qt Creator is now fully integrated in Armadeus Buildroot. To install it, go in your project's BSP directory and use the command:
  [armadeus]$ make menuconfig
[*] Host utilities  --->
  [*] host qtcreator  --->
      --- host qtcreator
      [ ]   GDB for QtCreator  --->   
  • If you want to use GDB in QtCreator for remote applications:
[*] Host utilities  --->
  [*] host qtcreator  --->
      --- host qtcreator
      [*]   GDB for QtCreator  --->
          --- GDB for QtCreator
          ( GDB server IP address
          (5600) GDB server port
          (/srv/developpements/armadeus_4-1/processManager/bin/processManager) Local executable
          (/usr/bin/processManager) Remote executable path on system
          (-qws) Remote executable arguments

The GDB server IP address, the GDB server port, the Local executable and the Remote executable path on system must be filled. The Remote executable arguments are facultatives.

  • Then you can build Qt Creator:
 [armadeus]$ make

Manual configuration

  • The QtCreator's configuration files are automatically generated in buildroot/output/host/etc/Nokia: QtCreator.ini and toolChains.xml.
    • Qt Embedded and g++ toolchain for ARM are automatically entered in Qt Creator's configuration.
  • GDB server script can be manually modified. Is is located in buildroot/output/host/etc/Nokia/gdb_server_script.

This script transfers the executable to debug to the remote system and launch the remote GDB server. The following variables can be changed according to the user needs: IP_ADDR, EXEC_ARGUMENTS, PRIVATE_KEY_PATH, LOCAL_EXEC_PATH, REMOTE_EXEC_PATH.


  • QtCreator's binary is located in buildroot/output/host/usr/bin/qtcreator.
  • Qt and toolchains can be respectively configured in the menu Tools --> Options --> Qt4 / Tool Chains.

Remote debugger

When in Qt Creator, go in the menu Debug --> Start Debugging --> Start and Attach to Remote Application.