Jump to content

Qt for HarmonyOS/qtohosextras doc: Difference between revisions

From Qt Wiki
No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 7: Line 7:
<div class="descr">
<div class="descr">


<span id="details"></span> <span id="getting-started"></span>
<span id="getting-started"></span>
== Getting Started ==
== Getting Started ==


Line 14: Line 12:


<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
  #include </syntaxhighlight>
  #include <QtOhosExtras> </syntaxhighlight>
To link against the Qt Ohos Extras module, add this line to your project file:
To link against the Qt Ohos Extras module, add this line to your project file:


Line 21: Line 19:
<span id="api-reference"></span>
<span id="api-reference"></span>
<span id="api-reference"></span>
<span id="api-reference"></span>
== API Reference ==
== API Reference ==



Latest revision as of 07:21, 29 January 2026

Qt Ohos Extras

Getting Started

To include the definitions of the module's classes, use the following directive:

 #include <QtOhosExtras>

To link against the Qt Ohos Extras module, add this line to your project file:

 QT += ohosextras

API Reference

Links to the API reference materials:

Examples

Links to the examples: