
Fixed homedir detection. Fixed config file creation. Send smartphone device model on broadcast.
30 lines
892 B
Prolog
30 lines
892 B
Prolog
include(../config.pri)
|
|
include(../common/defines.pri)
|
|
|
|
TARGET = qcma_android
|
|
TEMPLATE=app
|
|
QT += network sql androidextras
|
|
LIBS += -L../common -lqcma_common
|
|
|
|
# this library needs to link statically their deps but Qt doesn't pass --static to PKGCONFIG
|
|
QMAKE_CXXFLAGS += $$system(pkg-config --static --cflags libvitamtp libavformat libavcodec libavutil libswscale)
|
|
LIBS += $$system(pkg-config --static --libs libvitamtp libavformat libavcodec libavutil libswscale)
|
|
|
|
SOURCES += \
|
|
main_android.cpp \
|
|
sevicemanager.cpp
|
|
|
|
HEADERS += \
|
|
servicemanager.h
|
|
|
|
DISTFILES += \
|
|
android-src/gradle/wrapper/gradle-wrapper.jar \
|
|
android-src/AndroidManifest.xml \
|
|
android-src/gradlew.bat \
|
|
android-src/res/values/libs.xml \
|
|
android-src/build.gradle \
|
|
android-src/gradle/wrapper/gradle-wrapper.properties \
|
|
android-src/gradlew
|
|
|
|
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android-src
|