Your advice helped me hone my google searches (I had been assuming it was a Calibre thing), and I actually managed to sort it out in five minutes.
In case anyone else has the same problem, the solution is here:
https://blog.wxm.be/2010/04/29/qt-ap...in-ubuntu.html