What you can do is get QLibrary and load the kdeui or kdekio library of it and do it that way.
Qt-4.7.3 | Gentoo ~amd64 | KDE-4.7 Aki IRC Client for KDE4 | Qt Documentation
Forum Rules
Bookmarks