maybe you should have a look at http://qctools4j.sourceforge.net/
it's a java library used by qclylyn (http://sourceforge.net/apps/mediawiki/qcmylyn/index.php?title=Main_Page) to retrieve defects from QC.
unfortunately the COM bridge doesn't work for linux as it loads jacob dlls