64 lines
1.7 KiB
Prolog
64 lines
1.7 KiB
Prolog
QT += core gui
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
|
|
CONFIG += c++11
|
|
|
|
VERSION = 1.0.0
|
|
TARGET = MultiCamera
|
|
|
|
# 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 += \
|
|
CameraOperationThread.cpp \
|
|
FormatConvert.cpp \
|
|
GeneralGrab.cpp \
|
|
GeneralGrabWithGrabber.cpp \
|
|
Widget.cpp \
|
|
main.cpp
|
|
|
|
HEADERS += \
|
|
CameraOperationThread.h \
|
|
FormatConvert.h \
|
|
GeneralGrab.h \
|
|
GeneralGrabWithGrabber.h \
|
|
ItkCamera.h \
|
|
Widget.h
|
|
|
|
FORMS += \
|
|
Widget.ui
|
|
|
|
# Default rules for deployment.
|
|
qnx: target.path = /tmp/$${TARGET}/bin
|
|
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
|
!isEmpty(target.path): INSTALLS += target
|
|
|
|
win32{
|
|
NCLUDEPATH += \
|
|
$$quote(C:/Program Files/I-TEK OptoElectronics/IKapLibrary/Include)
|
|
contains(QT_ARCH,i386){
|
|
LIBS += -L"C:/Program Files/I-TEK OptoElectronics/IKapLibrary/Lib/x86/"
|
|
} else {
|
|
LIBS += -L"C:/Program Files/I-TEK OptoElectronics/IKapLibrary/Lib/x64/"
|
|
}
|
|
}
|
|
|
|
unix{
|
|
contains(QT_ARCH, x86_64){
|
|
INCLUDEPATH += \
|
|
$$quote(/opt/Itek/IKapInstall/Include)
|
|
LIBS += -L"/opt/Itek/IKapInstall/Lib/lib64/"
|
|
} else {
|
|
INCLUDEPATH += \
|
|
$$quote(/opt/Itek/IKapAarch/Include)
|
|
LIBS += -L"/opt/Itek/IKapAarch/Lib/lib64/"
|
|
|
|
}
|
|
}
|
|
LIBS += -lIKapC -lIKapBoard
|
|
|
|
# \~chinese 解决(pthread_atfork.oS) is referenced by DSO 问题 ~\english avoid complie error: (pthread_atfork.oS) is referenced by DSO
|
|
QMAKE_LFLAGS += -Wl,--no-as-needed
|