2019-11-03 17:48:30 +01:00
|
|
|
QT += qml quick quickcontrols2 widgets
|
2018-06-21 08:47:09 +02:00
|
|
|
CONFIG += c++11
|
|
|
|
|
2019-10-24 19:43:33 +02:00
|
|
|
VERSION = 1.0.1
|
|
|
|
|
2018-06-21 08:47:09 +02:00
|
|
|
# The following define makes your compiler emit warnings if you use
|
|
|
|
# any feature of Qt which as been marked deprecated (the exact warnings
|
|
|
|
# depend on your compiler). Please consult the documentation of the
|
|
|
|
# deprecated API in order to know how to port your code away from it.
|
|
|
|
DEFINES += QT_DEPRECATED_WARNINGS
|
|
|
|
|
|
|
|
# You can also make your code fail to compile if you use deprecated APIs.
|
|
|
|
# In order to do so, uncomment the following line.
|
|
|
|
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
|
|
|
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
|
|
|
|
2018-06-21 16:41:02 +02:00
|
|
|
TEMPLATE = app
|
|
|
|
TARGET = fannyapp
|
|
|
|
|
2019-02-18 19:10:08 +01:00
|
|
|
ICON = shared/graphics/favicon.icns
|
2018-06-21 17:56:36 +02:00
|
|
|
|
2018-06-21 08:47:09 +02:00
|
|
|
SOURCES += \
|
2019-11-06 22:02:48 +01:00
|
|
|
sources/filehelper.cpp \
|
2018-12-30 20:58:52 +01:00
|
|
|
sources/serverconn.cpp \
|
|
|
|
sources/main.cpp \
|
|
|
|
sources/appsettings.cpp \
|
|
|
|
sources/foodplanmodel.cpp \
|
|
|
|
sources/eventmodel.cpp \
|
2019-03-10 12:54:35 +01:00
|
|
|
sources/filtermodel.cpp \
|
|
|
|
sources/appstyle.cpp
|
2018-06-21 08:47:09 +02:00
|
|
|
|
2018-06-21 08:52:00 +02:00
|
|
|
HEADERS += \
|
2019-11-06 22:02:48 +01:00
|
|
|
headers/filehelper.h \
|
2018-06-21 16:41:02 +02:00
|
|
|
headers/serverconn.h \
|
2018-12-30 20:58:52 +01:00
|
|
|
headers/appsettings.h \
|
|
|
|
headers/foodplanmodel.h \
|
|
|
|
headers/eventmodel.h \
|
2019-03-10 12:54:35 +01:00
|
|
|
headers/filtermodel.h \
|
|
|
|
headers/appstyle.h
|
2018-06-21 08:52:00 +02:00
|
|
|
|
|
|
|
RESOURCES += \
|
2018-12-30 20:58:52 +01:00
|
|
|
shared/shared.qrc \
|
|
|
|
qml/qml.qrc
|
2018-06-21 08:47:09 +02:00
|
|
|
|
|
|
|
# Additional import path used to resolve QML modules in Qt Creator's code model
|
|
|
|
QML_IMPORT_PATH =
|
|
|
|
|
|
|
|
# Additional import path used to resolve QML modules just for Qt Quick Designer
|
|
|
|
QML_DESIGNER_IMPORT_PATH =
|
|
|
|
|
|
|
|
# Default rules for deployment.
|
|
|
|
qnx: target.path = /tmp/$${TARGET}/bin
|
|
|
|
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
|
|
|
!isEmpty(target.path): INSTALLS += target
|
|
|
|
|
2018-06-21 16:41:02 +02:00
|
|
|
android {
|
2018-12-30 20:58:52 +01:00
|
|
|
QT += androidextras
|
2018-06-21 16:41:02 +02:00
|
|
|
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android-sources
|
2019-11-17 21:21:52 +01:00
|
|
|
include($$PWD/android_openssl-master/openssl.pri)
|
2018-06-21 16:41:02 +02:00
|
|
|
}
|
2019-11-05 00:00:42 +01:00
|
|
|
|
2019-03-23 10:31:17 +01:00
|
|
|
win {
|
2019-11-05 00:00:42 +01:00
|
|
|
RC_ICONS = shared/graphics/favicon.ico
|
2019-03-23 10:31:17 +01:00
|
|
|
LIBS += "$$PWD/windows-libs/libeay32.dll"
|
|
|
|
LIBS += "$$PWD/windows-libs/ssleay32.dll"
|
|
|
|
}
|
|
|
|
|
2019-10-26 14:12:23 +02:00
|
|
|
ios {
|
|
|
|
QMAKE_ASSET_CATALOGS += shared/Assets.xcassets
|
2020-01-19 12:32:43 +01:00
|
|
|
|
|
|
|
OBJECTIVE_SOURCES += \
|
|
|
|
sources/ios/docviewcontroller.mm \
|
|
|
|
sources/ios/iosshareutils.mm
|
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
headers/ios/docviewcontroller.hpp \
|
|
|
|
headers/ios/iosshareutils.hpp
|
2019-10-26 14:12:23 +02:00
|
|
|
}
|
|
|
|
|
2018-06-21 16:41:02 +02:00
|
|
|
DISTFILES += \
|
2018-12-30 20:58:52 +01:00
|
|
|
android-sources/AndroidManifest.xml \
|
2019-11-06 22:02:48 +01:00
|
|
|
android-sources/build.gradle \
|
|
|
|
CHANGELOG.md \
|
|
|
|
android-sources/src/de/itsblue/fannyapp/MainActivity.java \
|
|
|
|
android-sources/src/org/ekkescorner/utils/QShareUtils.java
|