2019-07-14 12:49:05 +02:00
|
|
|
QT += quick qml quickcontrols2 purchasing widgets
|
2019-04-20 22:57:40 +02:00
|
|
|
CONFIG += c++11
|
|
|
|
|
2020-03-20 17:14:23 +01:00
|
|
|
VERSION = 0.04
|
|
|
|
|
2019-04-20 22:57:40 +02:00
|
|
|
android {
|
|
|
|
QT += androidextras
|
2020-11-05 19:37:13 +01:00
|
|
|
android: include(/home/dorian/Android/Sdk/android_openssl/openssl.pri)
|
2019-04-20 22:57:40 +02:00
|
|
|
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android-sources
|
|
|
|
}
|
|
|
|
|
2020-03-24 15:45:53 +01:00
|
|
|
ios {
|
|
|
|
QMAKE_ASSET_CATALOGS += resources/shared/Assets.xcassets
|
|
|
|
xcode_product_bundle_identifier_setting.value = "de.itsblue.bluerock"
|
|
|
|
}
|
|
|
|
|
2019-04-20 22:57:40 +02:00
|
|
|
# The following define makes your compiler emit warnings if you use
|
|
|
|
# any Qt feature that has been marked deprecated (the exact warnings
|
|
|
|
# depend on your compiler). Refer to the documentation for the
|
|
|
|
# deprecated API to know how to port your code away from it.
|
|
|
|
DEFINES += QT_DEPRECATED_WARNINGS
|
|
|
|
|
|
|
|
# You can also make your code fail to compile if it uses 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
|
|
|
|
|
|
|
|
SOURCES += \
|
2020-11-04 13:55:37 +01:00
|
|
|
sources/brathlete.cpp \
|
2020-11-03 15:56:43 +01:00
|
|
|
sources/brleague.cpp \
|
2019-06-23 10:55:08 +02:00
|
|
|
sources/appsettings.cpp \
|
2020-10-31 15:16:06 +01:00
|
|
|
sources/brcalendar.cpp \
|
2020-11-15 14:48:12 +01:00
|
|
|
sources/competition/brround.cpp \
|
2020-11-03 15:56:43 +01:00
|
|
|
sources/brseason.cpp \
|
2020-10-31 15:16:06 +01:00
|
|
|
sources/brserverconnector.cpp \
|
|
|
|
sources/brwidget.cpp \
|
2020-11-15 14:48:12 +01:00
|
|
|
sources/competition/result/brresultdetailsgeneralresult.cpp \
|
|
|
|
sources/main.cpp \
|
|
|
|
sources/brcontroller.cpp \
|
|
|
|
sources/provider/brprovider.cpp \
|
|
|
|
sources/provider/brproviderdr.cpp \
|
|
|
|
sources/provider/brprovidervl.cpp \
|
|
|
|
sources/competition/brcategory.cpp \
|
|
|
|
sources/competition/brcompetition.cpp \
|
|
|
|
sources/competition/result/brresult.cpp \
|
|
|
|
sources/competition/result/brresultdetails.cpp \
|
|
|
|
sources/competition/result/brresultdetailsunknown.cpp \
|
|
|
|
sources/cup/brcup.cpp
|
2020-10-31 15:16:06 +01:00
|
|
|
|
|
|
|
|
|
|
|
HEADERS += \
|
2020-11-04 13:55:37 +01:00
|
|
|
headers/brathlete.h \
|
2020-11-03 15:56:43 +01:00
|
|
|
headers/brleague.h \
|
2020-10-31 15:16:06 +01:00
|
|
|
headers/appsettings.h \
|
|
|
|
headers/brcalendar.h \
|
2020-11-15 14:48:12 +01:00
|
|
|
headers/competition/brcategory.h \
|
|
|
|
headers/competition/brcompetition.h \
|
2020-10-31 15:16:06 +01:00
|
|
|
headers/brcontroller.h \
|
2020-11-03 15:56:43 +01:00
|
|
|
headers/brseason.h \
|
2020-10-31 15:16:06 +01:00
|
|
|
headers/brserverconnector.h \
|
2020-11-15 14:48:12 +01:00
|
|
|
headers/brwidget.h \
|
|
|
|
headers/competition/result/brresultdetailsgeneralresult.h \
|
|
|
|
headers/provider/brprovider.h \
|
|
|
|
headers/provider/brproviderdr.h \
|
|
|
|
headers/provider/brprovidervl.h \
|
|
|
|
headers/competition/brround.h \
|
|
|
|
headers/competition/result/brresult.h \
|
|
|
|
headers/competition/result/brresultdetails.h \
|
|
|
|
headers/competition/result/brresultdetailsunknown.h \
|
|
|
|
headers/cup/brcup.h
|
|
|
|
|
|
|
|
INCLUDEPATH += \
|
|
|
|
headers \
|
|
|
|
headers/provider \
|
|
|
|
headers/competition \
|
|
|
|
headers/competition/result \
|
|
|
|
headers/cup
|
2019-04-20 22:57:40 +02:00
|
|
|
|
|
|
|
RESOURCES += resources/qml/qml.qrc \
|
2019-06-09 13:32:52 +02:00
|
|
|
resources/shared/shared.qrc \
|
|
|
|
#resources/shared/icons/bluerock/index.theme \
|
|
|
|
#$$files(resources/shared/icons/*.png, true)
|
|
|
|
|
2019-04-20 22:57:40 +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
|
|
|
|
|
|
|
|
DISTFILES += \
|
2019-05-24 14:57:09 +02:00
|
|
|
CHANGELOG.md \
|
2019-06-09 13:32:52 +02:00
|
|
|
android-sources/AndroidManifest.xml \
|
2020-11-05 19:37:13 +01:00
|
|
|
android-sources/build.gradle \
|
|
|
|
android-sources/gradle/wrapper/gradle-wrapper.jar \
|
|
|
|
android-sources/gradle/wrapper/gradle-wrapper.properties \
|
|
|
|
android-sources/gradlew \
|
|
|
|
android-sources/gradlew.bat \
|
|
|
|
android-sources/res/values/libs.xml \
|
2019-06-09 13:32:52 +02:00
|
|
|
resources/shared/icons/bluerock/index.theme \
|
|
|
|
$$files(resources/shared/icons/*.png, true)
|
2020-11-05 19:37:13 +01:00
|
|
|
|
|
|
|
ANDROID_ABIS = armeabi-v7a
|
|
|
|
|
|
|
|
contains(ANDROID_TARGET_ARCH,armeabi-v7a) {
|
|
|
|
ANDROID_ABIS = \
|
|
|
|
armeabi-v7a
|
|
|
|
}
|