0

I'm using QtCreator with MinGW and cant seem to link to WinSNMP without specifying an explicit path.

I can easily link to Winsock: LIBS += -lws2_32

If I try with WinSNMP the linker says it cant find the library?: LIBS += LIBS += -lwsnmp32

If I link with the direct path, it works fine: LIBS += C:\Qt\Tools\mingw48_32\i686-w64-mingw32\lib\libwsnmp32.a

How do I link to WinSNMP without specifying a direct path?

0 Answers0