Jump to content

QOhosBundleInfo Class

From Qt Wiki
Revision as of 06:18, 29 January 2026 by Kiki.ji (talk | contribs) (Created page with "< Qt for HarmonyOS / qtohosextras doc = QOhosBundleInfo Class = The QOhosBundleInfo class contains API to provide native application bundle info. More... {| class="wikitable" |- ! Header: | #include <QOhosBundleInfo> |- ! qmake: | QT += ohosextras |- ! Since: | Qt 5.12.12 |} * List of all members, including inherited members == Public Functions == {| class="wikitable" sty...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

< Qt for HarmonyOS / qtohosextras doc

QOhosBundleInfo Class

The QOhosBundleInfo class contains API to provide native application bundle info. More...

Header: #include <QOhosBundleInfo>
qmake: QT += ohosextras
Since: Qt 5.12.12

Public Functions

virtual ~QOhosBundleInfo()
virtual int versionCode() const = 0

Protected Functions

QOhosBundleInfo()

Detailed Description

The QOhosBundleInfo class contains API to provide native application bundle info.

To learn more about bundle info in HarmonyOS, see Bundle Info.

Member Function Documentation

[protected] QOhosBundleInfo::QOhosBundleInfo()

Default constructs an instance of QOhosBundleInfo.

[virtual] QOhosBundleInfo::~QOhosBundleInfo()

Destroys the instance of QOhosBundleInfo. The destructor is virtual.

[pure virtual] int QOhosBundleInfo::versionCode() const