Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt creater configuration for imx6qsabersd board
Forum Updated to NodeBB v4.3 + New Features

Qt creater configuration for imx6qsabersd board

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 579 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sachu
    wrote on last edited by
    #1

    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:
    /opt/poky/1.6.1/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-cpp

    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
    linux-*{
    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"

    1 Reply Last reply
    0
    • jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Can you post the complete error message?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved