first commit
This commit is contained in:
@@ -0,0 +1,365 @@
|
||||
######################################################################
|
||||
# Automatically generated by qmake (2.01a) ?? 11? 8 22:48:42 2013
|
||||
######################################################################
|
||||
# -spec /usr/local/Trolltech/QtEmbedded-4.6.3-arm/mkspecs/qws/linux-arm-g++ DEFINES+=ARM DEFINES+=QTV3 DEFINES+=VNLG
|
||||
# DEFINES+=VNLG
|
||||
# DEFINES+=X86TEST DEFINES+=VNLG DEFINES+=UART1
|
||||
# GIT
|
||||
#$ git config --global user.name "niexiong"
|
||||
#$ git config --global user.email "nx@runoob.com"
|
||||
# git clone git@119.23.201.56:/home/git/QtUI.git
|
||||
# git pull
|
||||
# git commit -am "提交说明"
|
||||
# git push
|
||||
# git add
|
||||
# git add -f xxx.cpp #强制提交文件
|
||||
# git rm
|
||||
#
|
||||
#
|
||||
|
||||
QT += core gui network serialport virtualkeyboard sql
|
||||
QT += xml
|
||||
|
||||
#//edit@02-07
|
||||
#LIBS += -L/usr/local/openssl-1.0.2 -lssl -lcrypto
|
||||
|
||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||
QT_VERSION = $$[QT_VERSION]
|
||||
QT_VERSION = $$split(QT_VERSION, ".")
|
||||
QT_VER_MAJ = $$member(QT_VERSION, 0)
|
||||
QT_VER_MIN = $$member(QT_VERSION, 1)
|
||||
greaterThan(QT_VER_MAJ, 5) | greaterThan(QT_VER_MIN, 9) QT += serialbus
|
||||
greaterThan(QT_MAJOR_VERSION, 4):QMAKE_CXXFLAGS += -fpermissive
|
||||
greaterThan(QT_MAJOR_VERSION, 4):CONFIG += c++11
|
||||
|
||||
include(qjson/upQJson.pri)
|
||||
|
||||
TEMPLATE = app
|
||||
#ifdef SPV210
|
||||
TARGET = qtUIV6
|
||||
#else
|
||||
TARGET = QtUI
|
||||
#endif
|
||||
OBJECTS_DIR +=tmp
|
||||
MOC_DIR +=tmp
|
||||
DEPENDPATH += .
|
||||
INCLUDEPATH += .
|
||||
INCLUDEPATH += $$PWD
|
||||
CODECFORTR = UTF-8
|
||||
#DEFINES+=ENGLISH
|
||||
DEFINES+=WARNING
|
||||
|
||||
DEFINES+=TEMPMIMA
|
||||
DEFINES+=COUNTER1_BY_GROUP #分段计米
|
||||
#DEFINES+=_2DCODE_ #QR二维码
|
||||
DEFINES+=PICSCENE
|
||||
#DEFINES+=__2451WIFI__
|
||||
DEFINES+=__CONVERTERWIFI__
|
||||
DEFINES+=MODBUS
|
||||
|
||||
greaterThan(QT_MAJOR_VERSION, 4):DEFINES+=QT_MAJOR_VERSION5
|
||||
|
||||
linux-g++ {
|
||||
DEFINES += ARCH_X86
|
||||
}
|
||||
|
||||
linux-aarch64-gnu-g++ {
|
||||
DEFINES += ARCH_AARCH64_GNU
|
||||
DEFINES += ARCH_AARCH64
|
||||
}
|
||||
|
||||
HEADERS += Public.h \
|
||||
myinclude.h \
|
||||
mainwidget.h \
|
||||
testprintwidget.h \
|
||||
InkJetPrinter.h \
|
||||
MyInputMethod.h \
|
||||
InputMethod.h \
|
||||
DigitalInput.h \
|
||||
InsertSpaceNumDialog.h \
|
||||
ClickLabel.h \
|
||||
DialogFontSize.h \
|
||||
SysPara.h \
|
||||
ParaSettingUI.h \
|
||||
DevOp.h \
|
||||
posix_qextserialport.h \
|
||||
rfid/sm4.h \
|
||||
rfid/sm3.h \
|
||||
rfid/rfidfunction.h \
|
||||
qextserialbase.h \
|
||||
PrintTextDisplay.h \
|
||||
fontsetwidget.h \
|
||||
Printsetting.h \
|
||||
MainInstruction.h \
|
||||
SystemManage.h \
|
||||
dlginputaddr.h \
|
||||
DialogAuthorization.h \
|
||||
TimeSettingDialog.h \
|
||||
UpdateFPGA.h \
|
||||
SystemSetting.h \
|
||||
dlgmutilanguage.h \
|
||||
OtherInfo.h \
|
||||
MemDisplayAndEdit.h \
|
||||
PhaseGraphic.h \
|
||||
Serial/serial.h \
|
||||
PulseNumFix.h \
|
||||
VerBVersion.h \
|
||||
LogInfo.h \
|
||||
MyFileDialog.h \
|
||||
scene/sceneviewwidget.h \
|
||||
scene/pictextitem.h \
|
||||
scene/picscene.h \
|
||||
scene/myview.h \
|
||||
scene/ItemGeneralSettings.h \
|
||||
scene/DateReplaceEditor.h \
|
||||
DialogSaveFile.h \
|
||||
DialogFileOperation.h \
|
||||
DateVarSet.h \
|
||||
ZkEdit.h \
|
||||
zkwidget.h \
|
||||
fileManage/FileManageWidget.h \
|
||||
fileManage/UDiskComboBox.h \
|
||||
ImageLoader.h \
|
||||
ImagePreviewer.h\
|
||||
CounterVarSet.h \
|
||||
dlgmywarring.h \
|
||||
ItemEditor.h \
|
||||
scene/PicImageItem.h \
|
||||
scene/PicDateItem.h \
|
||||
scene/ScheduleShiftsEditor.h \
|
||||
scene/PicScheduleShiftItem.h \
|
||||
scene/PicCounterItem.h \
|
||||
scene/BarcodeEditor.h \
|
||||
scene/DateFormatEditor.h \
|
||||
scene/ViewModels.h \
|
||||
CounterVarSet.h \
|
||||
SystemUpdate.h \
|
||||
dialogmaintenancetimesetting.h \
|
||||
selectcodedlg.h \
|
||||
BarCode/barcode.h \
|
||||
QBarCode.h \
|
||||
setnumdlg.h \
|
||||
QtQREnCode/split.h \
|
||||
QtQREnCode/rsecc.h \
|
||||
QtQREnCode/qrspec.h \
|
||||
QtQREnCode/qrinput.h \
|
||||
QtQREnCode/qrencode_inner.h \
|
||||
QtQREnCode/qrencode.h \
|
||||
QtQREnCode/mqrspec.h \
|
||||
QtQREnCode/mmask.h \
|
||||
QtQREnCode/mask.h \
|
||||
QtQREnCode/bitstream.h \
|
||||
Matrix/reedsol.h \
|
||||
Matrix/zint.h \
|
||||
Matrix/common.h \
|
||||
Matrix/dm200.h \
|
||||
dlgQrCode.h \
|
||||
scene/piccodeitem.h \
|
||||
Log/filelogger.h \
|
||||
Log/logger.h \
|
||||
Log/logmessage.h \
|
||||
Log/logglobal.h \
|
||||
|
||||
|
||||
FORMS += \
|
||||
MainWidget.ui \
|
||||
TestPrintWidget.ui \
|
||||
InkJetPrinter.ui \
|
||||
InputMethod.ui \
|
||||
digitalinput.ui \
|
||||
insertspacenumdialog.ui \
|
||||
dialogfontsize.ui \
|
||||
fontsetwidget.ui \
|
||||
Printsetting.ui \
|
||||
MainInstruction.ui \
|
||||
SystemManage.ui \
|
||||
dlginputaddr.ui \
|
||||
dialogauthorization.ui \
|
||||
timesettingdialog.ui \
|
||||
systemsetting.ui \
|
||||
dlgmutilanguage.ui \
|
||||
otherinfo.ui \
|
||||
memdisplayandedit.ui \
|
||||
pulsenumfix.ui \
|
||||
loginfo.ui \
|
||||
dialogsavefile.ui \
|
||||
dialogfileoperation.ui \
|
||||
datevarset.ui \
|
||||
ZkEdit.ui \
|
||||
fileManage/FileManageWidget.ui \
|
||||
ImageLoader.ui\
|
||||
fileManage/FileManageWidget.ui \
|
||||
countervarset.ui \
|
||||
ItemEditor.ui \
|
||||
dlgmywarring.ui \
|
||||
countervarset.ui \
|
||||
SystemUpdate.ui \
|
||||
dialogmaintenancetimesetting.ui \
|
||||
selectcodedlg.ui \
|
||||
QBarCode.ui \
|
||||
setnumdlg.ui \
|
||||
scene/ItemGeneralSettings.ui \
|
||||
scene/ScheduleShiftsEditor.ui \
|
||||
scene/BarcodeEditor.ui \
|
||||
scene/DateFormatEditor.ui \
|
||||
scene/DateReplaceEditor.ui \
|
||||
dlgQrCode.ui
|
||||
|
||||
SOURCES +=\
|
||||
mainwidget.cpp \
|
||||
testprintwidget.cpp\
|
||||
main.cpp \
|
||||
InkJetPrinter.cpp \
|
||||
MyInputMethod.cpp \
|
||||
InputMethod.cpp \
|
||||
DigitalInput.cpp \
|
||||
InsertSpaceNumDialog.cpp \
|
||||
ClickLabel.cpp \
|
||||
Public.cpp \
|
||||
DialogFontSize.cpp \
|
||||
SysPara.cpp \
|
||||
ParaSettingUI.cpp \
|
||||
DevOp.cpp \
|
||||
posix_qextserialport.cpp \
|
||||
rfid/sm4.cpp \
|
||||
rfid/sm3.cpp \
|
||||
rfid/rfidfunction.cpp \
|
||||
qextserialbase.cpp \
|
||||
PrintTextDisplay.cpp \
|
||||
fontsetwidget.cpp \
|
||||
Printsetting.cpp \
|
||||
MainInstruction.cpp \
|
||||
SystemManage.cpp \
|
||||
dlginputaddr.cpp \
|
||||
DialogAuthorization.cpp \
|
||||
TimeSettingDialog.cpp \
|
||||
UpdateFPGA.cpp \
|
||||
SystemSetting.cpp \
|
||||
dlgmutilanguage.cpp \
|
||||
OtherInfo.cpp \
|
||||
MemDisplayAndEdit.cpp \
|
||||
PhaseGraphic.cpp \
|
||||
Serial/serial.cpp \
|
||||
PulseNumFix.cpp \
|
||||
LogInfo.cpp \
|
||||
MyFileDialog.cpp \
|
||||
scene/sceneviewwidget.cpp \
|
||||
scene/pictextitem.cpp \
|
||||
scene/picscene.cpp \
|
||||
scene/myview.cpp \
|
||||
scene/ItemGeneralSettings.cpp \
|
||||
scene/ScheduleShiftsEditor.cpp \
|
||||
scene/PicScheduleShiftItem.cpp \
|
||||
scene/DateFormatEditor.cpp \
|
||||
scene/BarcodeEditor.cpp \
|
||||
scene/PicCounterItem.cpp \
|
||||
scene/ViewModels.cpp \
|
||||
scene/DateReplaceEditor.cpp \
|
||||
DialogSaveFile.cpp \
|
||||
DialogFileOperation.cpp \
|
||||
DateVarSet.cpp \
|
||||
ZkEdit.cpp \
|
||||
zkwidget.cpp \
|
||||
fileManage/FileManageWidget.cpp \
|
||||
fileManage/UDiskComboBox.cpp \
|
||||
ImageLoader.cpp \
|
||||
ImagePreviewer.cpp \
|
||||
CounterVarSet.cpp \
|
||||
dlgmywarring.cpp \
|
||||
ItemEditor.cpp \
|
||||
scene/PicImageItem.cpp \
|
||||
scene/PicDateItem.cpp \
|
||||
SystemUpdate.cpp \
|
||||
dialogmaintenancetimesetting.cpp \
|
||||
selectcodedlg.cpp \
|
||||
QBarCode.cpp \
|
||||
BarCode/ps.c \
|
||||
BarCode/plessey.c \
|
||||
BarCode/pcl.c \
|
||||
BarCode/msi.c \
|
||||
BarCode/library.c \
|
||||
BarCode/i25.c \
|
||||
BarCode/ean.c \
|
||||
BarCode/code128.c \
|
||||
BarCode/code93.c \
|
||||
BarCode/code39.c \
|
||||
BarCode/codabar.c \
|
||||
BarCode/cmdline.c \
|
||||
setnumdlg.cpp \
|
||||
QtQREnCode/split.c \
|
||||
QtQREnCode/rsecc.c \
|
||||
QtQREnCode/qrspec.c \
|
||||
QtQREnCode/qrinput.c \
|
||||
QtQREnCode/qrencode.c \
|
||||
QtQREnCode/mqrspec.c \
|
||||
QtQREnCode/mmask.c \
|
||||
QtQREnCode/mask.c \
|
||||
QtQREnCode/bitstream.c \
|
||||
Matrix/common.cpp \
|
||||
Matrix/reedsol.cpp \
|
||||
Matrix/dm200.cpp \
|
||||
Matrix/drawmatrix.cpp \
|
||||
dlgQrCode.cpp \
|
||||
scene/piccodeitem.cpp \
|
||||
Log/filelogger.cpp \
|
||||
Log/logger.cpp \
|
||||
Log/logmessage.cpp
|
||||
|
||||
|
||||
|
||||
#RESOURCES +=image.qrc EN/image.qrc
|
||||
RESOURCES += \
|
||||
image.qrc
|
||||
##ifdef VNLG
|
||||
#TRANSLATIONS +=./../V0211X86QRVN/chinese.ts ./../V0211X86QRVN/vena.ts ./../V0211X86QRVN/english.ts
|
||||
TRANSLATIONS += ./vena.ts ./chinese.ts ./turkey.ts ./spanish.ts ./thai.ts ./english.ts ./korean.ts ./farsi.ts
|
||||
#./../V0211X86QRVN/english.ts
|
||||
##else
|
||||
#TRANSLATIONS +=./../V0211X86QR/chinese.ts ./../V0211X86QR/english.ts
|
||||
##endif
|
||||
|
||||
OTHER_FILES += \
|
||||
buge_record.txt
|
||||
|
||||
if(contains(DEFINES,__CONVERTERWIFI__))
|
||||
{
|
||||
DEFINES += CONFIG_CTRL_IFACE
|
||||
DEFINES += CONFIG_CTRL_IFACE_UNIX
|
||||
#SOURCES += ../../src/utils/os_unix.c
|
||||
SOURCES += /third_part/wpa_supplicant_hostapd/wpa_supplicant_hostapd-0.8/src/utils/os_unix.c
|
||||
SOURCES += /third_part/wpa_supplicant_hostapd/wpa_supplicant_hostapd-0.8/src/common/wpa_ctrl.c
|
||||
INCLUDEPATH += /third_part/wpa_supplicant_hostapd/wpa_supplicant_hostapd-0.8/src
|
||||
INCLUDEPATH += /third_part/wpa_supplicant_hostapd/wpa_supplicant_hostapd-0.8/src/utils
|
||||
}
|
||||
if(contains(DEFINES,MODBUS))
|
||||
{
|
||||
INCLUDEPATH += $$PWD/modbus/port
|
||||
INCLUDEPATH += $$PWD/modbus/modbus/include
|
||||
INCLUDEPATH += $$PWD/modbus/modbus/rtu
|
||||
INCLUDEPATH += $$PWD/modbus/modbus/tcp
|
||||
#HEADERS += modbus/modbustcp.h
|
||||
#SOURCES += modbus/modbustcp.cpp
|
||||
}
|
||||
|
||||
if(contains(DEFINES,__2451WIFI__))
|
||||
{
|
||||
#DEFINES += CONFIG_CTRL_IFACE
|
||||
#DEFINES += CONFIG_CTRL_IFACE_UNIX
|
||||
##SOURCES += ../../src/utils/os_unix.c
|
||||
#SOURCES += /home/student/newDisk/2451_linux/wpa_supplicant_hostapd/wpa_supplicant_hostapd-0.8/src/utils/os_unix.c
|
||||
#SOURCES += /home/student/newDisk/2451_linux/wpa_supplicant_hostapd/wpa_supplicant_hostapd-0.8/src/common/wpa_ctrl.c
|
||||
#INCLUDEPATH += /home/student/newDisk/2451_linux/wpa_supplicant_hostapd/wpa_supplicant_hostapd-0.8/src
|
||||
#INCLUDEPATH += /home/student/newDisk/2451_linux/wpa_supplicant_hostapd/wpa_supplicant_hostapd-0.8/src/utils
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user