Yocto QT Hello World: Difference between revisions

From Variscite Wiki
No edit summary
No edit summary
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<!-- Set release according to "release" parameter in URL and use MORTY_BETA_DART-6UL as default
<!-- Set release according to "release" parameter in URL and use MORTY_V1.0_DART-6UL as default
--> {{#vardefine:RELEASE_PARAM|{{#urlget:release}}}} <!--
--> {{#vardefine:RELEASE_PARAM|{{#urlget:release|RELEASE_MORTY_V1.0_DART-6UL}}}} <!--
--> {{#lst:Yocto_Platform_Customization|{{#var:RELEASE_PARAM|RELEASE_MORTY_BETA_DART-6UL}}}} <!--
--> {{#lst:Yocto_Platform_Customization|{{#var:RELEASE_PARAM}}}} <!--
--> {{PageHeader|{{#var:HARDWARE_NAME}} QT5 Hello World}} {{DocImage|category1={{#var:HARDWARE_NAME}}|category2=Yocto}} __toc__
--> {{#lst:B2QT_Platform_Customization|{{#var:RELEASE_PARAM}}}} <!--
--> {{PageHeader|{{#var:HARDWARE_NAME}} Qt5 Hello World}} {{DocImage|category1={{#var:HARDWARE_NAME}}|category2=Yocto}} __toc__


== QT5 Toolchain Installation ==  
== Qt5 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 Toolchain installation|{{#var:RELEASE_LINK}}}} guide.
To install the Qt5 toolchain follow {{Varlink2|Yocto Qt5 Toolchain installation|{{#var:RELEASE_LINK}}}} guide.
== YoctoQtCreator Guide ==
{{Note|Full Yocto OpenEmbedded environment is required for the toolchain generation.}}
Please follow the QT creator guide: http://variwiki.com/index.php?title=File:YoctoQtCreator.pdf<br>
 
== Yocto Qt Creator Guide ==
To install Qt Creator follow the {{Varlink2|Yocto Qt Creator|{{#var:RELEASE_LINK}}}} guide<br>
In addition:<br>
In addition:<br>
https://wiki.qt.io/Basic_Qt_Programming_Tutorial<br>
https://wiki.qt.io/Basic_Qt_Programming_Tutorial<br>
Line 16: Line 19:
http://doc.qt.io/qtcreator/creator-tutorials.html<br>
http://doc.qt.io/qtcreator/creator-tutorials.html<br>
http://doc.qt.io/qt-5/qtexamplesandtutorials.html<br>
http://doc.qt.io/qt-5/qtexamplesandtutorials.html<br>
https://www.gitbook.com/download/pdf/book/mimecar/ubuntu-touch-programming-course?lang=en

Revision as of 11:35, 1 March 2021

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