2021-05-11 17:55:25 +00:00
|
|
|
QT += core gui
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
2024-03-19 08:48:00 +00:00
|
|
|
QT += core-private # For Notification permission request
|
2021-05-11 17:55:25 +00:00
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
main.cpp \
|
|
|
|
notificationclient.cpp
|
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
notificationclient.h
|
|
|
|
|
|
|
|
RESOURCES += \
|
|
|
|
main.qrc
|
|
|
|
|
|
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/corelib/platform/androidnotifier
|
|
|
|
INSTALLS += target
|
|
|
|
|
|
|
|
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android
|
|
|
|
OTHER_FILES += \
|
|
|
|
android/src/org/qtproject/example/androidnotifier/NotificationClient.java \
|
|
|
|
android/AndroidManifest.xml
|