summaryrefslogtreecommitdiff
path: root/examples/corelib
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@qt.io>2023-01-31 11:55:45 +0100
committerDavid Schulz <david.schulz@qt.io>2023-02-07 18:34:42 +0100
commit834e97ce46c9e322ad6d5b7fc9bf5709ce11a401 (patch)
tree19cbc536211d5ae38a522a16cc120a8b35e7181c /examples/corelib
parentf7db1cfa92896135534f6ab140d1470e56a5d677 (diff)
downloadqtbase-834e97ce46c9e322ad6d5b7fc9bf5709ce11a401.tar.gz
Add android manifest and java files to example
These files should not change the outcome of the build process, but are merely added to better support the CMake and Android integration in Qt Creator. Also those files were previously listed in the OTHER_FILES section of the qmake project files. Change-Id: Id3d403130ee8800ed6b0877f9f1c3dd1f28b46b7 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Diffstat (limited to 'examples/corelib')
-rw-r--r--examples/corelib/permissions/CMakeLists.txt1
-rw-r--r--examples/corelib/platform/androidnotifier/CMakeLists.txt2
2 files changed, 3 insertions, 0 deletions
diff --git a/examples/corelib/permissions/CMakeLists.txt b/examples/corelib/permissions/CMakeLists.txt
index 075420e5de..39a207b1ce 100644
--- a/examples/corelib/permissions/CMakeLists.txt
+++ b/examples/corelib/permissions/CMakeLists.txt
@@ -17,6 +17,7 @@ qt_standard_project_setup()
qt_add_executable(permissions
MANUAL_FINALIZATION
main.cpp
+ android/AndroidManifest.xml
)
set_target_properties(permissions PROPERTIES
diff --git a/examples/corelib/platform/androidnotifier/CMakeLists.txt b/examples/corelib/platform/androidnotifier/CMakeLists.txt
index e05afc2901..e5271edd79 100644
--- a/examples/corelib/platform/androidnotifier/CMakeLists.txt
+++ b/examples/corelib/platform/androidnotifier/CMakeLists.txt
@@ -23,6 +23,8 @@ qt_add_executable(androidnotifier
main.cpp
notificationclient.cpp
notificationclient.h
+ android/src/org/qtproject/example/androidnotifier/NotificationClient.java
+ android/AndroidManifest.xml
)
target_link_libraries(androidnotifier PRIVATE