Qt creater configuration for imx6qsabersd board

  • Hai ,

    I try to configure Qt creater for my IMX6Qsabresd board.
    I am using yocto build image in the board.
    I bitbaked bitbake meta-toolchain-qt5 after finish compiled with bitbake, obtain the SDK file located in /build/tmp/deploy/sdk
    i install toolchain on /opt/poky/1.6.1 path
    Configure Qt creator
    Connect to Target Device
    Connect the target system to a network and get its IP address.
    In QtCreator
    Go to Tools > Options > Devices
    Click Add > Generic Linux Device > Start Wizard
    Set the name to "Board" and set up the connection.
    Click Test to test the network connection of the target device.

    Add new Compiler
    Go to Tools > Options > Build & Run> click Compilers
    Click Add and select GCC
    Change Name to "compiler-cpp"
    Select poky compiler:

    Add New Cross Compiled QtVersion
    Click Qt Versions on the Build & Run panel
    Click Add
    Locate the qmake file in /opt/poky/1.6.1/sysroots/x86_64-pokysdk-linux/usr/bin/qt5/qmake

    Add new Kit
    Click on Kits on the Build & Run panel
    Click Add
    Name: Board
    Device Type: Generic Linux Device
    Device: Board
    Sysroot: /opt/poky/1.6/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi
    Compiler: Hio-fb-compiler-cpp
    Qt Version: Qt 5.2.1(qt5)
    Click Ok

    Test: Qt Creator Hello World
    Open Qt Creator and click New Project
    Select Qt Console Application
    Specify the location for the project
    Next: select the kit the Hio Board Qt 5.2.1
    and click Finish
    Edit hello-world.pro, add these lines under Target to specify where the applications gets installed when it is deployed to the device during development
    target.path =/home/root/
    INSTALLS += target

    at the time of build i get an error like could not start process
    Error while building/deploying project
    when executing step "make"

  • Moderators

    Can you post the complete error message?

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.