mirror of https://github.com/status-im/qzxing.git
57 lines
1.2 KiB
Prolog
57 lines
1.2 KiB
Prolog
TEMPLATE = app
|
|
|
|
QT += qml quick
|
|
|
|
CONFIG += c++11 qzxing_multimedia
|
|
|
|
CONFIG(debug, debug|release) {
|
|
CONFIG+=qml_debug
|
|
} else {
|
|
DEFINES += QT_NO_DEBUG
|
|
DEFINES += QT_NO_DEBUG_OUTPUT
|
|
}
|
|
|
|
HEADERS += \
|
|
application.h
|
|
|
|
SOURCES += main.cpp \
|
|
application.cpp
|
|
|
|
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.
|
|
include(deployment.pri)
|
|
|
|
android {
|
|
QT += androidextras
|
|
|
|
HEADERS += \
|
|
native.h
|
|
|
|
SOURCES += \
|
|
native.cpp
|
|
|
|
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
|
|
}
|