Yocto QT Hello World: Difference between revisions

From Variscite Wiki
No edit summary
 
(One intermediate revision by the same user not shown)
Line 19: Line 19:
{{#switch:{{#var:SOC_FAMILY}}
{{#switch:{{#var:SOC_FAMILY}}
|am6=
|am6=
== Setup the Environment ==  
== Qt Creator Environment ==  
To use the SDK, you must source the environment file:
To use the SDK with Qt Creator, you must source the environment file:


  $ source {{#var:TOOLCHAIN_ROOT_LOCATION}}
  $ source {{#var:TOOLCHAIN_ROOT_LOCATION}}/environment-setup


And then launch Qt creator from the command line:
And then launch Qt creator from the command line:

Latest revision as of 18:31, 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:

  1. Visit variwiki.com
  2. Select your SoM
  3. 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.


Yocto Qt Creator Guide

To install Qt Creator follow the Yocto Qt Creator guide
In addition:
https://wiki.qt.io/Basic_Qt_Programming_Tutorial
https://wiki.qt.io
http://doc.qt.io/qtcreator/creator-tutorials.html
http://doc.qt.io/qt-5/qtexamplesandtutorials.html
https://www.gitbook.com/download/pdf/book/mimecar/ubuntu-touch-programming-course?lang=en