# # This file is part of JQLibrary # # Copyright: Jason # # Contact email: 188080501@qq.com # # GNU Lesser General Public License Usage # Alternatively, this file may be used under the terms of the GNU Lesser # General Public License version 2.1 or version 3 as published by the Free # Software Foundation and appearing in the file LICENSE.LGPLv21 and # LICENSE.LGPLv3 included in the packaging of this file. Please review the # following information to ensure the GNU Lesser General Public License # requirements will be met: https://www.gnu.org/licenses/lgpl.html and # http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. # QT *= core gui CONFIG *= c++11 INCLUDEPATH *= \ $$PWD/include/ exists( $$PWD/src/JQBarcode.cpp ) { SOURCES *= $$PWD/src/JQBarcode.cpp HEADERS *= $$PWD/include/JQBarcode.h } contains( QT, bluetooth ) { exists( $$PWD/src/JQBluetooth.cpp ) { SOURCES *= $$PWD/src/JQBluetooth.cpp HEADERS *= $$PWD/include/JQBluetooth.h } mac | ios { DEFINES += JQBLUETOOTH_UUIDMODE } } exists( $$PWD/src/JQChecksum.cpp ) { SOURCES *= $$PWD/src/JQChecksum.cpp HEADERS *= $$PWD/include/JQChecksum.h } exists( $$PWD/src/JQExcel.cpp ) { SOURCES *= $$PWD/src/JQExcel.cpp HEADERS *= $$PWD/include/JQExcel.h } exists( $$PWD/src/JQFile.cpp ) { SOURCES *= $$PWD/src/JQFile.cpp HEADERS *= $$PWD/include/JQFile.h } unix | linux | mingw { exists( $$PWD/src/JQFilePack.cpp ) { SOURCES *= $$PWD/src/JQFilePack.cpp HEADERS *= $$PWD/include/JQFilePack.h } } exists( $$PWD/src/JQFoundation.cpp ) { DEFINES += JQFOUNDATION_LIB SOURCES *= $$PWD/src/JQFoundation.cpp HEADERS *= $$PWD/include/JQFoundation.h HEADERS *= $$PWD/include/jqdeclare.hpp } exists( $$PWD/src/jqgpio.cpp ) { SOURCES *= $$PWD/src/jqgpio.cpp HEADERS *= $$PWD/include/jqgpio.h } contains( QT, network ) { contains( QT, concurrent ) { exists( $$PWD/src/JQHttpServer.cpp ) { SOURCES *= $$PWD/src/JQHttpServer.cpp HEADERS *= $$PWD/include/JQHttpServer.h } } } ios { exists( $$PWD/src/JQiOS.cpp ) { LIBS *= -framework Foundation -framework UIKit OBJECTIVE_SOURCES *= $$PWD/src/JQiOS.mm HEADERS *= $$PWD/include/JQiOS.h } } exists( $$PWD/src/JQLanguage.cpp ) { SOURCES *= $$PWD/src/JQLanguage.cpp HEADERS *= $$PWD/include/JQLanguage.h } exists( $$PWD/src/JQNet.cpp ) { SOURCES *= $$PWD/src/JQNet.cpp HEADERS *= $$PWD/include/JQNet.h } exists( $$PWD/src/JQPropertyAnimation.cpp ) { SOURCES *= $$PWD/src/JQPropertyAnimation.cpp HEADERS *= $$PWD/include/JQPropertyAnimation.h } contains( QT, serialport ) { exists( $$PWD/src/JQSerialPort.cpp ) { SOURCES *= $$PWD/src/JQSerialPort.cpp HEADERS *= $$PWD/include/JQSerialPort.h } } exists( $$PWD/src/JQSettings.cpp ) { SOURCES *= $$PWD/src/JQSettings.cpp HEADERS *= $$PWD/include/JQSettings.h } exists( $$PWD/src/JQSms.cpp ) { SOURCES *= $$PWD/src/JQSms.cpp HEADERS *= $$PWD/include/JQSms.h } contains( QT, network ) { exists( $$PWD/src/JQSystemFlag.cpp ) { SOURCES *= $$PWD/src/JQSystemFlag.cpp HEADERS *= $$PWD/include/JQSystemFlag.h } } exists( $$PWD/src/jqthread.cpp ) { SOURCES *= $$PWD/src/jqthread.cpp HEADERS *= $$PWD/include/jqthread.h } contains( QT, multimedia | concurrent ) { exists( $$PWD/src/JQVop.cpp ) { SOURCES *= $$PWD/src/JQVop.cpp HEADERS *= $$PWD/include/JQVop.h } } exists( $$PWD/src/JQWeather.cpp ) { SOURCES *= $$PWD/src/JQWeather.cpp HEADERS *= $$PWD/include/JQWeather.h } contains( QT, webenginewidgets ) { exists( $$PWD/src/JQWebEngine.cpp ) { SOURCES *= $$PWD/src/JQWebEngine.cpp HEADERS *= $$PWD/include/JQWebEngine.h } }