Jump to content

Qt for HarmonyOS/qtohosextras doc: Difference between revisions

From Qt Wiki
No edit summary
No edit summary
 
(2 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_Cpp_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>
<span id="examples"></span>
== Examples ==
== Examples ==
Line 32: 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: