Difference between revisions of "IoTGateway/BSP/Linux/iMX8/Qt5Creator"
From ESS-WIKI
Line 3: | Line 3: | ||
Note: This guide was tested and wirtten for Yocto version <span style="color:#0070c0">4.14.98_2.0.0_ga-sumo</span> on <span style="color:#0070c0">Ubuntu 14.04</span>. | Note: This guide was tested and wirtten for Yocto version <span style="color:#0070c0">4.14.98_2.0.0_ga-sumo</span> on <span style="color:#0070c0">Ubuntu 14.04</span>. | ||
− | == <span style="color:#0070c0"><span style="color:#0070c0"><span style="color:#0070c0">Download iMX8 Yocto-2.5 sumo SDK</span></span></span> == | + | == <span style="color:#0070c0"><span style="color:#0070c0"><span style="color:#0070c0">How to get the SDK</span></span></span> == |
+ | |||
+ | === <span style="color:#0070c0"><span style="color:#0070c0"><span style="color:#0070c0">Building the SDK</span></span></span> === | ||
+ | |||
+ | To compile a working SDK, the SDK has to be created from the same image like the one running on your board. | ||
+ | |||
+ | Setup the build-directory: | ||
+ | |||
+ | cd ~/karo-yocto/fsl-imx-sumo | ||
+ | DISTRO=fsl-imx-xwayland MACHINE=tx8m-xxxx source karo-nxp-release.sh -b build-qt5-toolchain | ||
+ | |||
+ | Build the image for your board. To flash the image use uuu. We documented examples at :ref:`uuu`. | ||
+ | |||
+ | bitbake fsl-image-qt5-validation-imx | ||
+ | |||
+ | Populate the SDK: | ||
+ | |||
+ | bitbake -c populate_sdk fsl-image-qt5-validation-imx | ||
+ | |||
+ | === <span style="color:#0070c0"><span style="color:#0070c0"><span style="color:#0070c0">Download iMX8 Yocto-2.5 sumo SDK</span></span></span> === | ||
<span style="color:#0070c0"><span style="color:#0070c0">[https://www.dropbox.com/s/dyv2633fulfgvdv/fsl-imx-xwayland-glibc-x86_64-fsl-image-qt5-validation-imx-aarch64-toolchain-4.14-sumo.sh?dl=0 QT_development_Yotco_sumo_2.5_SDK_for_i.MX8]</span></span> | <span style="color:#0070c0"><span style="color:#0070c0">[https://www.dropbox.com/s/dyv2633fulfgvdv/fsl-imx-xwayland-glibc-x86_64-fsl-image-qt5-validation-imx-aarch64-toolchain-4.14-sumo.sh?dl=0 QT_development_Yotco_sumo_2.5_SDK_for_i.MX8]</span></span> | ||
Line 9: | Line 28: | ||
== <span style="color:#0070c0"><span style="color:#0070c0"><span style="color:#0070c0">Setup</span></span></span> == | == <span style="color:#0070c0"><span style="color:#0070c0"><span style="color:#0070c0">Setup</span></span></span> == | ||
− | + | sudo apt-get install qtcreator | |
+ | |||
== <span style="color:#0070c0"><span style="color:#0070c0"><span style="color:#0070c0">Example</span></span></span> == | == <span style="color:#0070c0"><span style="color:#0070c0"><span style="color:#0070c0">Example</span></span></span> == | ||
<span style="color:#0070c0"><span style="color:#0070c0">== <span style="color:#0070c0">Run</span> ==</span></span> | <span style="color:#0070c0"><span style="color:#0070c0">== <span style="color:#0070c0">Run</span> ==</span></span> |
Revision as of 07:35, 11 September 2020
Contents
Toolchain with QT Creator iMX8
Note: This guide was tested and wirtten for Yocto version 4.14.98_2.0.0_ga-sumo on Ubuntu 14.04.
How to get the SDK
Building the SDK
To compile a working SDK, the SDK has to be created from the same image like the one running on your board.
Setup the build-directory:
cd ~/karo-yocto/fsl-imx-sumo DISTRO=fsl-imx-xwayland MACHINE=tx8m-xxxx source karo-nxp-release.sh -b build-qt5-toolchain
Build the image for your board. To flash the image use uuu. We documented examples at :ref:`uuu`.
bitbake fsl-image-qt5-validation-imx
Populate the SDK:
bitbake -c populate_sdk fsl-image-qt5-validation-imx
Download iMX8 Yocto-2.5 sumo SDK
QT_development_Yotco_sumo_2.5_SDK_for_i.MX8
Setup
sudo apt-get install qtcreator
Example
== Run ==