2016-09-27 00:06:28 +00:00
|
|
|
TEMPLATE = app
|
|
|
|
|
2017-01-15 18:36:41 +00:00
|
|
|
CONFIG += c++11 qzxing_multimedia
|
2016-09-27 00:06:28 +00:00
|
|
|
|
2017-01-29 15:54:16 +00:00
|
|
|
CONFIG(debug, debug|release) {
|
|
|
|
CONFIG+=qml_debug
|
|
|
|
} else {
|
|
|
|
DEFINES += QT_NO_DEBUG
|
|
|
|
DEFINES += QT_NO_DEBUG_OUTPUT
|
|
|
|
}
|
|
|
|
|
|
|
|
HEADERS += \
|
2017-03-16 14:26:48 +00:00
|
|
|
application.h \
|
|
|
|
native.h
|
2017-01-29 15:54:16 +00:00
|
|
|
|
|
|
|
SOURCES += main.cpp \
|
2017-03-16 14:26:48 +00:00
|
|
|
application.cpp \
|
|
|
|
native.cpp
|
2016-09-27 00:06:28 +00:00
|
|
|
|
|
|
|
RESOURCES += qml.qrc
|
|
|
|
|
|
|
|
# Additional import path used to resolve QML modules in Qt Creator's code model
|
|
|
|
QML_IMPORT_PATH =
|
|
|
|
|
|
|
|
include(../../src/QZXing.pri)
|
|
|
|
|
|
|
|
# Default rules for deployment.
|
2017-01-15 18:36:41 +00:00
|
|
|
include(deployment.pri)
|
2017-01-16 17:54:20 +00:00
|
|
|
|
2017-01-29 15:54:16 +00:00
|
|
|
android {
|
|
|
|
QT += androidextras
|
|
|
|
|
|
|
|
DISTFILES += \
|
|
|
|
android/AndroidManifest.xml \
|
|
|
|
android/gradle/wrapper/gradle-wrapper.jar \
|
|
|
|
android/gradlew \
|
|
|
|
android/res/values/libs.xml \
|
|
|
|
android/build.gradle \
|
|
|
|
android/gradle/wrapper/gradle-wrapper.properties \
|
|
|
|
android/gradlew.bat \
|
|
|
|
android/AndroidManifest.xml \
|
|
|
|
android/gradle/wrapper/gradle-wrapper.jar \
|
|
|
|
android/gradlew \
|
|
|
|
android/res/values/libs.xml \
|
|
|
|
android/build.gradle \
|
|
|
|
android/gradle/wrapper/gradle-wrapper.properties \
|
|
|
|
android/gradlew.bat
|
|
|
|
|
|
|
|
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android
|
|
|
|
}
|
2017-05-11 14:32:23 +00:00
|
|
|
|
|
|
|
else:ios {
|
|
|
|
QMAKE_INFO_PLIST=Info.plist
|
|
|
|
}
|
|
|
|
|