aboutsummaryrefslogtreecommitdiffstats
path: root/examples/firebase/pushnotification/pushnotification.pro
blob: d30611ec8ce6c41cf47018066f18b936a59a3986 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
QT += quick cloudmessagingfirebase

ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android-sources

SOURCES += \
    main.cpp \
    pushnotification.cpp

OTHER_FILES += \
    qml/main.qml \
    android-sources/src/org/qtproject/example/pushnotification/NotificationActivity.java \
    android-sources/AndroidManifest.xml \
    android-sources/build.gradle \
    android-sources/google-services.json \
    android-sources/res/drawable/icon.png

RESOURCES += \
    main.qrc

HEADERS += \
    pushnotification.h

GOOGLE_FIREBASE_SDK = $$(GOOGLE_FIREBASE_SDK)
!isEmpty(GOOGLE_FIREBASE_SDK): INCLUDEPATH += $${GOOGLE_FIREBASE_SDK}/include

target.path = $$[QT_INSTALL_EXAMPLES]/firebase/pushnotification
INSTALLS += target