From b3127806a76d2b7c513ee7b7b29163b237b1bcec Mon Sep 17 00:00:00 2001 From: Jani Korteniemi Date: Tue, 6 Jun 2023 08:47:41 -0700 Subject: [PATCH] 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 --- examples/corelib/platform/CMakeLists.txt | 4 ++-- .../androidnotifier/doc/src/androidnotifier-example.qdoc | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/corelib/platform/CMakeLists.txt b/examples/corelib/platform/CMakeLists.txt index 8eeda130952..b86b1f0f9e3 100644 --- a/examples/corelib/platform/CMakeLists.txt +++ b/examples/corelib/platform/CMakeLists.txt @@ -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() diff --git a/examples/corelib/platform/androidnotifier/doc/src/androidnotifier-example.qdoc b/examples/corelib/platform/androidnotifier/doc/src/androidnotifier-example.qdoc index 186be9ec5a0..d47b365a7b2 100644 --- a/examples/corelib/platform/androidnotifier/doc/src/androidnotifier-example.qdoc +++ b/examples/corelib/platform/androidnotifier/doc/src/androidnotifier-example.qdoc @@ -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