summaryrefslogtreecommitdiffstats
path: root/examples/corelib/platform/androidnotifier/androidnotifier.pro
blob: 6ac4c69eb33aa3087c9d5d3abba845d2f5d4e695 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
QT += core-private # For Notification permission request

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