
1、继承resonon相机库虚类(imager_base.h),实现了控制ximea相机的控制类库; 2、在ximea相机控制类(irisximeaimager.h)中,加入了定制的7个函数(setGainOffset、setRoi等等);
45 lines
1.4 KiB
Prolog
45 lines
1.4 KiB
Prolog
#-------------------------------------------------
|
|
#
|
|
# Project created by QtCreator 2021-04-08T14:35:26
|
|
#
|
|
#-------------------------------------------------
|
|
|
|
QT -= gui
|
|
|
|
TARGET = IrisXimeaImager
|
|
TEMPLATE = lib
|
|
|
|
DEFINES += IRISXIMEAIMAGER_LIBRARY
|
|
|
|
# The following define makes your compiler emit warnings if you use
|
|
# any feature of Qt which as been marked as deprecated (the exact warnings
|
|
# depend on your compiler). Please consult the documentation of the
|
|
# deprecated API in order to know how to port your code away from it.
|
|
DEFINES += QT_DEPRECATED_WARNINGS
|
|
|
|
# You can also make your code fail to compile if you use deprecated APIs.
|
|
# In order to do so, uncomment the following line.
|
|
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
|
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
|
|
|
SOURCES += \
|
|
irisximeaimager.cpp \
|
|
imager_base.cpp
|
|
|
|
HEADERS += \
|
|
irisximeaimager.h \
|
|
irisximeaimager_global.h \
|
|
imager_base.h
|
|
|
|
unix {
|
|
target.path = /usr/lib
|
|
INSTALLS += target
|
|
}
|
|
|
|
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../../../usr/lib/release/ -lm3api
|
|
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../../../usr/lib/debug/ -lm3api
|
|
else:unix: LIBS += -L$$PWD/../../../../usr/lib/ -lm3api
|
|
|
|
INCLUDEPATH += $$PWD/../../../../usr/include
|
|
DEPENDPATH += $$PWD/../../../../usr/include
|