Yocto QT Hello World: Difference between revisions

From Variscite Wiki
No edit summary
No edit summary
Line 3: Line 3:
--> {{#lst:Yocto_Platform_Customization|{{#var:RELEASE_PARAM}}}} <!--
--> {{#lst:Yocto_Platform_Customization|{{#var:RELEASE_PARAM}}}} <!--
--> {{#lst:B2QT_Platform_Customization|{{#var:RELEASE_PARAM}}}} <!--
--> {{#lst:B2QT_Platform_Customization|{{#var:RELEASE_PARAM}}}} <!--
--> {{PageHeader|{{#var:HARDWARE_NAME}} Qt5 Hello World}} {{DocImage|category1={{#var:HARDWARE_NAME}}|category2=Yocto}} __toc__
--> {{#vardefine:QT|{{#var:QT_VER|5}}}} <!-- Default QT Version is 5, newer releases define QT_VER in YPC
--> {{PageHeader|{{#var:HARDWARE_NAME}} Qt{{#var:QT}} Hello World}} {{DocImage|category1={{#var:HARDWARE_NAME}}|category2=Yocto}} __toc__


== Qt5 Toolchain Installation ==  
== Qt{{#var:QT}} Toolchain Installation ==  
In order to build Qt applications targeted for the embedded Yocto image, we need to have a full Qt
In order to build Qt applications targeted for the embedded Yocto image, we need to have a full Qt
toolchain which provides (besides cross GCC and GDB) the Qt headers to include and libraries to link
toolchain which provides (besides cross GCC and GDB) the Qt headers to include and libraries to link
against<br>
against<br>
To install the Qt5 toolchain follow {{Varlink2|Yocto Qt5 Toolchain installation|{{#var:RELEASE_LINK}}}} guide.
To install the Qt{{#var:QT}} toolchain follow {{Varlink2|Yocto Qt5 Toolchain installation|{{#var:RELEASE_LINK}}}} guide.
{{Note|Full Yocto OpenEmbedded environment is required for the toolchain generation.}}
{{Note|Full Yocto OpenEmbedded environment is required for the toolchain generation.}}



Revision as of 20:37, 13 January 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

In order to build Qt applications targeted for the embedded Yocto image, we need to have a full Qt toolchain which provides (besides cross GCC and GDB) the Qt headers to include and libraries to link against
To install the Qt5 toolchain follow Yocto Qt5 Toolchain installation guide.

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