I'm working on a little project and I need to link RespeQt with protobuf. I'm running Windows 10 and using Qt Creator. I installed Qt 5.8.0.
I installed MSYS2 32-bit and set it up with Qt's mingw mounted and using its GCC. I compiled the protobuf library from source and installed it to mingw's /lib directory. I added it to the project in Qt Creator:
LIBS += -L"C:\Qt\Qt5.8.0\Tools\mingw530_32\lib" -lprotobuf INCLUDEPATH += "C:\Qt\Qt5.8.0\Tools\mingw530_32\include"
But it doesn't seem to be linking it. I get a million undefined reference errors when I try to use any of the protobuf functions. What do I need to do to get it to link properly with the Qt mingw environment?