how to recompile dynamic libraries of qwt and qscintilla2 by linking it to static libraries of libQtCore.a and libQtGui.a

I have dynamic libraries of qwt and qscintilla and If do ldd on both shared libraries

1) ldd libqscintilla2.so

libQtGui.so.4 => /tools/linux64/qt-4.6.0/lib/libQtGui.so.4
libQtCore.so.4 => /tools/linux64/qt-4.6.0/lib/libQtCore.so.4
2) ldd libqwt.so

libQtGui.so.4 => /tools/linux64/qt-4.6.0/lib/libQtGui.so.4
libQtCore.so.4 => /tools/linux64/qt-4.6.0/lib/libQtCore.so.4
It seems both are linked to dynamic libraries of libQtGui.so and libQtCore.so

I have source code of all libraries libQtGui.so ,libCore.so, libqwt.so and libqscintilla.so , is it possible to recompile these libraries they are not linked to dynamic libraries libQtGui.so and libQtCore.so and they are linked to static libraries libQtGui.a and libQtCore.a

1) libqwt.so. 2) libqscintilla2.so.

if yes .Can someone guide me on this how to recompile the libqwt.so. and libqscintilla2.so. without dependencies on these dynamic libraries libQtGui.so.4 and libQtCore.so.4.


PS > Since it is more of problem of linking . I have posted the same in this forumn
Topic archived. No new replies allowed.