相机dll调用

This commit is contained in:
lidg
2026-11-12 09:26:26 +08:00
parent 1541295eaa
commit 2226bf9b85
22 changed files with 1816 additions and 924 deletions
+20 -2
View File
@@ -2,7 +2,20 @@ QT += core gui sql serialbus network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += c++11
CONFIG += c++17
win32-msvc {
QMAKE_CXXFLAGS += /utf-8
CONFIG(release, debug|release) {
DESTDIR = $$PWD/bin
HVG_DEPLOY_SCRIPT = $$shell_quote($$shell_path($$PWD/tools/Deploy-Bin.ps1))
HVG_PROJECT_ROOT = $$shell_quote($$shell_path($$PWD))
QMAKE_POST_LINK = powershell.exe -NoProfile -ExecutionPolicy Bypass -File $$HVG_DEPLOY_SCRIPT -ProjectRoot $$HVG_PROJECT_ROOT -RuntimeOnly
} else {
DESTDIR = $$PWD/bin/debug
}
}
# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
@@ -45,6 +58,7 @@ SOURCES += \
services/productionworker.cpp \
services/qualityservice.cpp \
services/trayservice.cpp \
services/visiondllworker.cpp \
services/workpieceservice.cpp \
services/visionservice.cpp \
widget.cpp
@@ -84,8 +98,11 @@ HEADERS += \
services/productionworker.h \
services/qualityservice.h \
services/trayservice.h \
services/visiondllworker.h \
services/workpieceservice.h \
services/visionservice.h \
third_party/hikvision/HikVisionGuidance.h \
third_party/hikvision/HikVisionGuidanceQt.h \
widget.h
FORMS += \
@@ -101,7 +118,8 @@ RESOURCES += \
layout/layout.qrc
DISTFILES += \
config.ini
config.ini \
tools/Deploy-Bin.ps1
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin