As @Armen said in the simplest of terms, one of the requirements here is a library that works as cross-platform as possible / necessary. Qt is the obvious choice for this. There are others, such as wxWidgets, that achieve the same, and the choice is up to you.
Secondly, all "updated" libraries must comply with binary compatibility (what Qt agrees to do for each major version does not know about wxWidgets).
The third and probably "yes, du!" part: you need to create them as shared libraries and link these shared libraries.
, . (linux: , Mac Windows , , Mac Mac?)