Jump to content

Qt for HarmonyOS/qtohosextras doc/QOhosBundleInfo Class

From Qt Wiki
Revision as of 07:02, 28 January 2026 by Shawn Luo (talk | contribs) (Created page with "<!-- Source: qtohosextras-qohosbundleinfo.html --> <span id="qohosbundleinfo-class"></span> = QOhosBundleInfo Class = <span class="small-subtitle">(QtOhosExtras::QOhosBundleInfo)<br /> </span> The QOhosBundleInfo class contains API to provide native application bundle info. More... <div class="table"> {| class="wikitable alignedsummary"...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

QOhosBundleInfo Class

(QtOhosExtras::QOhosBundleInfo)

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

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


Public Functions

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


Protected Functions

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