Add shared library to QT