I'm developing a QT(c++) plugin applicaton. I build my plugins into dynamic libraries. So basically, a specific plugin may depend on other third-party libraries.
Here is my problem, some plugins will use the same third-party libraries, suchlike opencv or protobuf. But, they may depend on different version of that library. This may cause unexpected behaviors when loading plugins or running appliction.
My question is how to solve this problem in a suitable way?