Yocto QT Hello World: Difference between revisions
From Variscite Wiki
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
To install the Qt{{#var:QT_VER}} toolchain, follow the {{#var:TOOLCHAIN_URL}} guide. | To install the Qt{{#var:QT_VER}} toolchain, follow the {{#var:TOOLCHAIN_URL}} guide. | ||
{{Note|A full Yocto OpenEmbedded environment is required for the toolchain generation.}} | {{Note|A full Yocto OpenEmbedded environment is required for the toolchain generation.}} | ||
-->{{#switch:{{#var:SOC_FAMILY}} | |||
|am6= | |||
== Setup the Environment == | |||
To use the SDK, you must source the environment file: | |||
$ source {{#var:TOOLCHAIN_ROOT_LOCATION}} | |||
And then launch Qt creator from the command line: | |||
[linux-devkit]:~/> ~/Qt/Tools/QtCreator/bin/qtcreator.sh | |||
|#default={{#vardefine:TOOLCHAIN_URL|{{Varlink2|Yocto Qt{{#var:QT_VER}} Toolchain installation|{{#var:RELEASE_LINK}}}}}} | |||
}}<!-- | |||
== Yocto Qt Creator Guide == | == Yocto Qt Creator Guide == |
Revision as of 18:30, 27 April 2023
Warning: This page is designed to be used with a 'release' URL parameter.
This page is using the default release RELEASE_MORTY_V1.0_DART-6UL.
To view this page for a specific Variscite SoM and software release, please follow these steps:
- Visit variwiki.com
- Select your SoM
- Select the software release
DART-6UL Qt5 Hello World
Qt5 Toolchain Installation
A full Qt toolchain is needed in order to build Qt applications targeted for the embedded Yocto image.
The toolchain must provide the Qt headers and libraries to link against in addition to the cross GCC and GDB tools.
To install the Qt5 toolchain, follow the Yocto Qt5 Toolchain installation guide.
A full Yocto OpenEmbedded environment is required for the toolchain generation.
-->