View Single Post
Old 07-09-2009, 06:40 AM   #425
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Quote:
Originally Posted by Syniurge View Post
I've also tried to install calibre from bzr but the Qt libs shipped in Ubuntu are too old (Qt 4.5.0) and ebook-viewer doesn't work: http://calibre.kovidgoyal.net/ticket/2700
Qt 4.5.0 works fine. However the version of PyQt is too old. You will need to install PyQt 4.5.x (I have 4.5.2 installed and it's fine). You can build and install PyQt 4.5 from source.

The problem with the ebook-viewer is a conflict between PyQt 4.4 and Qt 4.5. You can get it working if you remove the line:

Code:
self.view.setProperty("url", QtCore.QVariant(QtCore.QUrl("about:blank")))
in the main_ui.py file for the viewer. Or you can install PyQt 4.5 and then it works fine.
user_none is offline