2021-06-15 09:16:22 +00:00
|
|
|
QT += quick svg
|
|
|
|
|
|
|
|
CONFIG += c++11 warn_on
|
|
|
|
|
|
|
|
DEFINES += QT_DEPRECATED_WARNINGS
|
2021-05-04 18:31:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
# You can make your code fail to compile if it uses deprecated APIs.
|
|
|
|
# In order to do so, uncomment the following line.
|
|
|
|
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
handler.cpp \
|
|
|
|
main.cpp \
|
|
|
|
sandboxapp.cpp
|
|
|
|
|
2021-06-15 09:16:22 +00:00
|
|
|
!macx {
|
|
|
|
SOURCES += statuswindow.cpp
|
|
|
|
}
|
|
|
|
|
|
|
|
TARGET = sandboxapp
|
|
|
|
|
|
|
|
macx {
|
|
|
|
CONFIG -= app_bundle
|
|
|
|
OBJECTIVE_SOURCES += \
|
|
|
|
statuswindow_mac.mm
|
|
|
|
}
|
|
|
|
|
|
|
|
ios {
|
|
|
|
LIBS += -framework UIKit
|
|
|
|
|
|
|
|
QMAKE_TARGET_BUNDLE_PREFIX = "im.status"
|
|
|
|
#QMAKE_XCODE_CODE_SIGN_IDENTITY = "iPhone Developer"
|
|
|
|
MY_DEVELOPMENT_TEAM.name = "STATUS HOLDINGS PTE.LTD"
|
|
|
|
MY_DEVELOPMENT_TEAM.value = "DTX7Z4U3YA"
|
|
|
|
QMAKE_MAC_XCODE_SETTINGS += MY_DEVELOPMENT_TEAM
|
2021-05-12 08:11:25 +00:00
|
|
|
|
2021-06-15 09:16:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
RESOURCES += qml.qrc \
|
|
|
|
$$PWD/../statusq.qrc
|
2021-05-04 18:31:15 +00:00
|
|
|
|
|
|
|
DESTDIR = $$PWD/bin
|
|
|
|
|
|
|
|
# Default rules for deployment.
|
|
|
|
qnx: target.path = /tmp/$${TARGET}/bin
|
|
|
|
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
|
|
|
!isEmpty(target.path): INSTALLS += target
|
2021-06-15 09:16:22 +00:00
|
|
|
#OTHER_FILES += $$files($$PWD/../src/*, true)
|
2021-05-04 18:31:15 +00:00
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
handler.h \
|
2021-05-20 06:25:52 +00:00
|
|
|
sandboxapp.h \
|
|
|
|
statuswindow.h
|
2021-05-17 10:18:41 +00:00
|
|
|
|
|
|
|
DISTFILES += \
|
2021-06-01 10:01:47 +00:00
|
|
|
../src/StatusQ/Components/StatusMacWindowButtons.qml \
|
2021-05-17 10:18:41 +00:00
|
|
|
../src/StatusQ/Controls/StatusBaseButton.qml \
|
|
|
|
../src/StatusQ/Controls/StatusButton.qml \
|
2021-05-20 08:43:01 +00:00
|
|
|
../src/StatusQ/Controls/StatusCheckBox.qml \
|
2021-05-20 06:14:18 +00:00
|
|
|
../src/StatusQ/Controls/StatusFlatRoundButton.qml \
|
2021-05-20 08:43:01 +00:00
|
|
|
../src/StatusQ/Controls/StatusRadioButton.qml \
|
2021-06-01 10:01:47 +00:00
|
|
|
../src/StatusQ/Controls/StatusSlider.qml \
|
2021-05-20 06:14:18 +00:00
|
|
|
../src/StatusQ/Controls/StatusSwitch.qml
|
2021-06-15 09:16:22 +00:00
|
|
|
|
|
|
|
android {
|
|
|
|
|
|
|
|
DISTFILES += \
|
|
|
|
android/AndroidManifest.xml \
|
|
|
|
android/build.gradle \
|
|
|
|
android/gradle/wrapper/gradle-wrapper.jar \
|
|
|
|
android/gradle/wrapper/gradle-wrapper.properties \
|
|
|
|
android/gradlew \
|
|
|
|
android/gradlew.bat \
|
|
|
|
android/res/values/libs.xml
|
|
|
|
|
|
|
|
contains(ANDROID_TARGET_ARCH,armeabi-v7a) {
|
|
|
|
ANDROID_PACKAGE_SOURCE_DIR = \
|
|
|
|
$$PWD/android
|
|
|
|
}
|
|
|
|
}
|