#CONFIG -= qt TEMPLATE = lib DEFINES += VREYEDEVICE_LIBRARY 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 INCLUDEPATH += ./Inc INCLUDEPATH += ./_Inc INCLUDEPATH += ../VrCommon/Inc INCLUDEPATH += ../VrUtils/Inc SOURCES += \ Src/VrEyeDevice.cpp \ Src/VrEyeCommon.cpp HEADERS += \ Inc/IVrEyeDevice.h \ Inc/VrEyeDevice_global.h \ VrEyeDevice_global.h \ _Inc/VrEyeCommon.h \ _Inc/VrEyeDevice.h #linux下的为unix ,windows下用的win32 INCLUDEPATH += ../SDK/VzNLSDK/_Inc INCLUDEPATH += ../SDK/VzNLSDK/Inc win32:CONFIG(release, debug|release): { LIBS += -L$$PWD/../SDK/VzNLSDK/Windows/x64/Release LIBS += -lVzKernel -lVzNLDetect -lVzNLGraphics } else:win32:CONFIG(debug, debug|release): { LIBS += -L$$PWD/../SDK/VzNLSDK/Windows/x64/Debug LIBS += -lVzKerneld -lVzNLDetectd -lVzNLGraphicsd } else:unix:!macx: { message("build unix") LIBS += -L$$PWD/../SDK/VzNLSDK/Arm/aarch64 LIBS += -lVzEyeSecurityLoader-shared -lVzKernel -lVzNLDetect -lVzNLGraphics } # Default rules for deployment. unix { target.path = /usr/lib } !isEmpty(target.path): INSTALLS += target