24 Replies Latest reply on Jul 31, 2015 12:37 AM by Qiang Wang Branched to a new discussion.

    Setup QT Creator with Yocto Build

    Joerg-SH Level 1

      bitbaked meta-toolchain-qt


      Install it  with


      ~/yocto/build/tmp/deploy/sdk$ poky-eglibc-x86_64-arm-toolchain-qt-1.4.1.sh


      Download Qtcreator from here http://qt-project.org/downloads

      and Install it to Your home directory


      edit the bin/qtcreator.sh

      source /opt/poky/1.4.1/environment-setup-armv7a-vfp-neon-poky-linux-gnueabi
      #! /bin/sh


      makeAbsolute() {
          case $1 in
                  # already absolute, return it
                  echo "$1"
                  # relative, prepend $2 made absolute
                  echo `makeAbsolute "$2" "$PWD"`/"$1" | sed 's,/\.$,,'




      To do it before "#! /bin/sh" is IMPORTANT!!!!



      In QtCreator i set

      Compiler as



      Qt version as



      sysroot as



      Put them in a Kit




      For connection to Your Board click on  Device  --->    Manage



      Build a new project


      and add some to the .pro file





      Building the image for Your Board:




      TOOLCHAIN_HOST_TASK_append = " nativesdk-python-subprocess"

      EXTRA_IMAGE_FEATURES = "debug-tweaks ssh-server-openssh"


      to Your localconfig



      bitbake core-image-sato-sdk


      set a password to root  via

      ssh root@[boardip]



      test connection via


      sftp  root@[boardip]


      start qtcreator






      Message was edited by: Joerg Boge


      Nachricht geändert durch Joerg Boge Thanks to Diego Gonzalez