Update Android notifier example to match example guideline

Replaced add_subdirectory() with qt_internal_add_example().
Added tags.

Task-number: QTBUG-114638
Change-Id: I397c2974a51f0bea391099d1d1abfea39bd29cbe
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
Jani Korteniemi 2023-06-06 08:47:41 -07:00
parent f91588923b
commit b3127806a7
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# Copyright (C) 2022 The Qt Company Ltd.
# Copyright (C) 2023 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
if(ANDROID)
add_subdirectory(androidnotifier)
qt_internal_add_example(androidnotifier)
endif()

View File

@ -5,6 +5,7 @@
\title Qt Android Notifier
\example platform/androidnotifier
\examplecategory {Mobile}
\meta tag {widgets,android,notification}
\brief Demonstrates calling Java code from Qt in an Android application.
\image androidnotifier.png