forked from lubuwest/Friendiqa
75 lines
1.9 KiB
Prolog
75 lines
1.9 KiB
Prolog
# NOTICE:
|
|
#
|
|
# Application name defined in TARGET has a corresponding QML filename.
|
|
# If name defined in TARGET is changed, the following needs to be done
|
|
# to match new name:
|
|
# - corresponding QML filename must be changed
|
|
# - desktop icon filename must be changed
|
|
# - desktop filename must be changed
|
|
# - icon definition filename in desktop file must be changed
|
|
# - translation filenames have to be changed
|
|
|
|
# The name of your application
|
|
TEMPLATE = app
|
|
TARGET = friendiqa
|
|
CONFIG += release
|
|
QT += qml quick gui widgets androidextras
|
|
|
|
include(androidnative.pri/androidnative.pri)
|
|
|
|
SOURCES += common/friendiqa.cpp \
|
|
common/uploadableimage.cpp \
|
|
common/xhr.cpp \
|
|
common/filesystem.cpp \
|
|
common/remoteauthasyncimageprovider.cpp
|
|
|
|
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android
|
|
|
|
|
|
RESOURCES = application.qrc
|
|
|
|
OTHER_FILES += qml/friendiqa.qml \
|
|
translations/*.ts \
|
|
qml/*.qml
|
|
qml/newsqml/*.qml
|
|
qml/contactqml/*.qml
|
|
qml/photoqml/*.qml
|
|
qml/configqml/*.qml
|
|
js/*.js
|
|
|
|
TRANSLATIONS += translations/friendiqa-de.ts \
|
|
translations/friendiqa-es.ts
|
|
|
|
HEADERS += \
|
|
common/uploadableimage.h \
|
|
common/xhr.h \
|
|
common/filesystem.h \
|
|
common/remoteauthasyncimageprovider.h
|
|
|
|
DISTFILES += \
|
|
qml/calendarqml/*.qml \
|
|
android/AndroidManifest.xml \
|
|
android/gradle/wrapper/gradle-wrapper.jar \
|
|
android/gradlew \
|
|
android/res/values/libs.xml \
|
|
android/build.gradle \
|
|
android/gradle/wrapper/gradle-wrapper.properties \
|
|
android/gradlew.bat \
|
|
translations/*.ts \
|
|
translations/*.qm \
|
|
qml/*.qml \
|
|
qml/newsqml/*.qml \
|
|
qml/contactqml/*.qml \
|
|
qml/photoqml/*.qml \
|
|
qml/configqml/*.qml \
|
|
js/*.js \
|
|
android/androidnative.gradle \
|
|
android/src/FriendiqaActivity.java \
|
|
android/src/ExampleService.java
|
|
|
|
contains(ANDROID_TARGET_ARCH,armeabi-v7a) {
|
|
ANDROID_EXTRA_LIBS = \
|
|
$$PWD/android/libcrypto.so \
|
|
$$PWD/android/libssl.so
|
|
}
|