# Usage file for the Comms library. Include/link this library in another using: # include(/path/to/lib/Comms/Comms.pri) # # Defaults to in-tree. # For an installed copy, COMMS_ROOT is the install PREFIX. # qmake COMMS_ROOT= ... isEmpty(COMMS_ROOT): COMMS_ROOT = $$PWD QT *= core network serialbus INCLUDEPATH += $$COMMS_ROOT/include LIBS += -L$$COMMS_ROOT/lib -lComms # Update rpath so shared lib is found during runtime. # Use COMMS_ROOT so in-tree builds find the in-tree lib. # Installed builds will find install path via $$PREFIX/lib. QMAKE_RPATHDIR += $$COMMS_ROOT/lib