Jump to content

Qt for HarmonyOS/qtohosextras doc: Difference between revisions

From Qt Wiki
No edit summary
Line 14: Line 14:


<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 21:
<span id="api-reference"></span>
<span id="api-reference"></span>
<span id="api-reference"></span>
<span id="api-reference"></span>
== API Reference ==
== API Reference ==



Revision as of 08:15, 28 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: