qzxing/examples/QZXingDragNDropTest/QZXingDragNDropTest.pro
Nikolaos Ftylitakis 6070e98f38
Add conditional builds in pro (#141)
* first refactoring on QZXing.pri to group sources based on type of barcode and operation

* Moved the newly created source code groups of functionalities to separate pri file (QZXing-components.pri).

* In QZXing.pri include QZXing-components.pri having previously added as configuration all the available modules to preserve the backward compatibility.

* Deactivate parts of code based on the configuration of the pro file. (Work in Progress).

* fix compilation error

* Fix include issue when only "enable_encoder_qr_code" config is used through QZXing-components.pri

Update example projects to use QZXing-components.pri
2019-10-03 15:56:14 +03:00

66 lines
2.0 KiB
Prolog

# Add more folders to ship with the application, here
DEPLOYMENTFOLDERS = folder_01
folder_01.source = qml/QZXingDragNDropTest
folder_01.target = qml
QT += widgets
CONFIG += qzxing_qml \
enable_decoder_1d_barcodes \
enable_decoder_qr_code \
enable_decoder_data_matrix \
enable_decoder_aztec \
enable_decoder_pdf17
# Additional import path used to resolve QML modules in Creator's code model
QML_IMPORT_PATH =
symbian:TARGET.UID3 = 0xE0C1E62F
# Smart Installer package's UID
# This UID is from the protected range and therefore the package will
# fail to install if self-signed. By default qmake uses the unprotected
# range value if unprotected UID is defined for the application and
# 0x2002CCCF value if protected UID is given to the application
#symbian:DEPLOYMENT.installer_header = 0x2002CCCF
# Allow network access on Symbian
symbian:TARGET.CAPABILITY += NetworkServices
# If your application uses the Qt Mobility libraries, uncomment the following
# lines and add the respective components to the MOBILITY variable.
# CONFIG += mobility
# MOBILITY +=
# Speed up launching on MeeGo/Harmattan when using applauncherd daemon
# CONFIG += qdeclarative-boostable
# Add dependency to Symbian components
# CONFIG += qt-components
# The .cpp file which was generated for your project. Feel free to hack it.
SOURCES += main.cpp \
droparea.cpp
# Please do not modify the following two lines. Required for deployment.
include(../../src/QZXing-components.pri)
if(lessThan(QT_VERSION, 5.0)): {
include(qmlapplicationviewer/qmlapplicationviewer.pri)
} else {
include(qtquick2applicationviewer/qtquick2applicationviewer.pri)
}
qtcAddDeployment()
HEADERS += \
droparea.h
OTHER_FILES += \
qtc_packaging/debian_fremantle/rules \
qtc_packaging/debian_fremantle/README \
qtc_packaging/debian_fremantle/copyright \
qtc_packaging/debian_fremantle/control \
qtc_packaging/debian_fremantle/compat \
qtc_packaging/debian_fremantle/changelog