代码拉取完成,页面将自动刷新
QT += core gui concurrent serialport
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += c++17
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
SOURCES += \
defer.cpp \
main.cpp \
dialog.cpp \
rfidclient.cpp
HEADERS += \
defer.h \
dialog.h \
rfidclient.h \
visa\rfid.h \
visa\factory.h \
visa\types.h
FORMS += \
dialog.ui
DEFINES+=VISA
LIBS += -L$$PWD/./visa/ -lrfid_core -lrfid-private-visa
# 定义 Debug 模式和 Release 模式的目标目录
CONFIG(debug, debug|release): DESTDIR = $$OUT_PWD/debug
CONFIG(release, debug|release): DESTDIR = $$OUT_PWD/release
win32 {
COPY_DEST = $$replace(DESTDIR, /, \\)
message($$COPY_DEST)
system("copy visa\\rfid_core.dll $$COPY_DEST\\rfid_core.dll")
system("copy visa\\rfid-private-visa.dll $$COPY_DEST\\rfid-private-visa.dll")
}
INCLUDEPATH += $$PWD/visa
DEPENDPATH += $$PWD/visa
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。