Jump to content

Qt for HarmonyOS/qtohosextras doc: Difference between revisions

From Qt Wiki
Created page with "<!-- Source: qtohosextras-index.html --> <span id="qt-ohos-extras"></span> = Qt Ohos Extras = <span class="subtitle"></span> <div class="descr"> <span id="details"></span> <span id="getting-started"></span> <span id="getting-started"></span> == Getting Started == To include the definitions of the module's classes, use the following directive: <syntaxhighlight lang="cpp"> #include </syntaxhighlight> To link against the Qt Ohos Extras module, add this line to your pr..."
 
No edit summary
 
(3 intermediate revisions 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 ==


Links to the API reference materials:
Links to the API reference materials:


* [[Qt Ohos Extras C++ Classes|C++ Classes and Namespaces]]
* [[Qt_for_HarmonyOS/qtohosextras_doc/Qt_Ohos_Extras_C++_Classes|C++ Classes and Namespaces]]


<span id="examples"></span>
<span id="examples"></span>
Line 33: Line 32:
Links to the examples:
Links to the examples:


* [[Qt Ohos Extras Examples|Examples]]
* [[Qt_for_HarmonyOS/qtohosextras_doc/Qt_Ohos_Extras_Examples|Examples]]




</div>
</div>

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: