1.开发环境安装:apt install libsnmp-dev
2.安装位置查询:whereis net-snmp
3. 引用库
INCLUDEPATH += /usr/include/net-snmp/
LIBS += -lnetsnmp