QT += gui xml TEMPLATE = lib CONFIG += plugin CONFIG += c++11 # 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 += \ device_ni.cpp \ ni.cpp HEADERS += \ device_ni.h \ ni.h TRANSLATIONS += \ ni_ru_RU.ts DISTFILES += ni.json win32:CONFIG(release, debug|release): DESTDIR = ../../.output/.hwplugins/release else:win32:CONFIG(debug, debug|release): DESTDIR = ../../.output/.hwplugins/debug else:unix: DESTDIR = ../../.ouput/.hwplugins # Default rules for deployment. unix { target.path = $$[QT_INSTALL_PLUGINS]/generic } !isEmpty(target.path): INSTALLS += target unix|win32: LIBS += -L'C:/Program Files (x86)/National Instruments/Shared/ExternalCompilerSupport/C/lib64/msvc/' -lNIDAQmx INCLUDEPATH += 'C:/Program Files (x86)/National Instruments/Shared/ExternalCompilerSupport/C/include' DEPENDPATH += 'C:/Program Files (x86)/National Instruments/Shared/ExternalCompilerSupport/C/include' INCLUDEPATH += $$PWD/../.. DEPENDPATH += $$PWD/../.. win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../.output/release/ -lgtl_hw else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../.output/debug/ -lgtl_hw else:unix: LIBS += -L$$PWD/../../.output/ -lgtl_hw win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../.output/release/ -lgtl_core else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../.output/debug/ -lgtl_core else:unix: LIBS += -L$$PWD/../../.output/ -lgtl_core