2018-12-23 00:06:05 +01:00
|
|
|
QT += qml quick quickcontrols2 xml webview
|
2018-06-21 08:47:09 +02:00
|
|
|
CONFIG += c++11
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2018-06-21 20:28:16 +02:00
|
|
|
ICON = favicon.icns
|
2018-12-21 23:56:10 +01:00
|
|
|
RC_ICONS = shared/favicon.ico
|
2018-06-21 17:56:36 +02:00
|
|
|
|
2018-06-21 08:47:09 +02:00
|
|
|
SOURCES += \
|
2018-12-21 12:23:12 +01:00
|
|
|
sources/serverconn.cpp \
|
|
|
|
sources/main.cpp \
|
|
|
|
sources/appsettings.cpp \
|
|
|
|
sources/eventform.cpp
|
2018-06-21 08:47:09 +02:00
|
|
|
|
2018-06-21 08:52:00 +02:00
|
|
|
HEADERS += \
|
2018-06-21 16:41:02 +02:00
|
|
|
headers/serverconn.h \
|
2018-12-21 12:23:12 +01:00
|
|
|
headers/appsettings.h \
|
|
|
|
headers/eventform.h
|
2018-06-21 08:52:00 +02:00
|
|
|
|
|
|
|
RESOURCES += \
|
2018-06-21 16:41:02 +02:00
|
|
|
qml/qml.qrc \
|
2018-12-21 12:23:12 +01:00
|
|
|
shared/shared.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-21 12:23:12 +01:00
|
|
|
QT += androidextras
|
2018-06-21 16:41:02 +02:00
|
|
|
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android-sources
|
|
|
|
}
|
|
|
|
|
|
|
|
DISTFILES += \
|
|
|
|
favicon.png \
|
2018-12-21 12:23:12 +01:00
|
|
|
android-sources/AndroidManifest.xml \
|
|
|
|
android-sources/src/com/itsblue/flgvertretung/MainActivity.java \
|
|
|
|
android-sources/res/drawable-hdpi/icon.png \
|
|
|
|
android-sources/res/drawable-ldpi/icon.png \
|
|
|
|
android-sources/res/drawable-mdpi/icon.png \
|
|
|
|
android-sources/res/xml/provider_paths.xml
|
2018-06-21 08:52:00 +02:00
|
|
|
|