From baf6d989abe52166c5fcfa632bea3ac4066bb1d2 Mon Sep 17 00:00:00 2001 From: favoritas37 Date: Sat, 16 May 2015 17:19:40 +0300 Subject: [PATCH] enhancement to the project file of the QZXingDragNDropTest --- examples/QZXingDragNDropTest/QZXingTestApp.pro | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/examples/QZXingDragNDropTest/QZXingTestApp.pro b/examples/QZXingDragNDropTest/QZXingTestApp.pro index 4898076..fda023a 100644 --- a/examples/QZXingDragNDropTest/QZXingTestApp.pro +++ b/examples/QZXingDragNDropTest/QZXingTestApp.pro @@ -38,8 +38,12 @@ SOURCES += main.cpp \ # Please do not modify the following two lines. Required for deployment. include(../../source/QZXing.pri) -include(qmlapplicationviewer/qmlapplicationviewer.pri) -#include(qtquick2applicationviewer/qtquick2applicationviewer.pri) +if(lessThan(QT_VERSION, 5.0)): { + include(qmlapplicationviewer/qmlapplicationviewer.pri) +} else { + include(qtquick2applicationviewer/qtquick2applicationviewer.pri) +} + qtcAddDeployment() HEADERS += \