This repository has been archived on 2022-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
fanny-app/fannyapp.pro

99 lines
2.8 KiB
Prolog
Raw Normal View History

2019-11-03 17:48:30 +01:00
QT += qml quick quickcontrols2 widgets
2018-06-21 08:47:09 +02:00
CONFIG += c++11
VERSION = 1.0.2
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
2020-02-19 21:05:48 +01:00
CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG_OUTPUT
2018-06-21 08:47:09 +02:00
# 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
2018-06-21 08:47:09 +02:00
SOURCES += \
sources/filehelper.cpp \
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 += \
headers/filehelper.h \
2018-06-21 16:41:02 +02:00
headers/serverconn.h \
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 += \
2020-01-25 12:01:10 +01:00
resources/shared/shared.qrc \
resources/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 {
QT += androidextras
2018-06-21 16:41:02 +02:00
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android-sources
include($$PWD/android_openssl-master/openssl.pri)
2018-06-21 16:41:02 +02:00
}
2019-03-23 10:31:17 +01:00
win {
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 {
2020-03-20 16:12:16 +01:00
QMAKE_ASSET_CATALOGS += resources/shared/Assets.xcassets
2020-01-19 16:34:01 +01:00
xcode_product_bundle_identifier_setting.value = "de.itsblue.fannyapp"
QMAKE_IOS_DEPLOYMENT_TARGET=9.0
OBJECTIVE_SOURCES += \
sources/ios/docviewcontroller.mm \
sources/ios/notch.mm \
sources/ios/iosshareutils.mm
HEADERS += \
headers/ios/docviewcontroller.hpp \
headers/ios/notch.h \
headers/ios/iosshareutils.hpp
QT += gui-private
}
osx {
2020-03-20 15:45:56 +01:00
QMAKE_ASSET_CATALOGS += shared/Assets.xcassets
xcode_product_bundle_identifier_setting.value = "de.itsblue.fannyapp"
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.13
#ICON = shared/graphics/favicon.icns
2019-10-26 14:12:23 +02:00
}
2018-06-21 16:41:02 +02:00
DISTFILES += \
android-sources/AndroidManifest.xml \
android-sources/build.gradle \
CHANGELOG.md \
android-sources/src/de/itsblue/fannyapp/MainActivity.java \
android-sources/src/org/ekkescorner/utils/QShareUtils.java