[PyQt] Displaying examples descriptions in qtdemo

Phil Thompson phil at riverbankcomputing.com
Wed Jul 31 13:56:46 BST 2013


On Wed, 31 Jul 2013 16:41:34 +0400, Dmitry Shachnev <mitya57 at ubuntu.com>
wrote:
> Hi,
> 
> I've noticed two bugs in qtdemo's MenuManager which make it not show
> examples descriptions with this error:
> "Could not load description. Ensure that the documentation for Qt is
> built."
> 
> First, helpRootUrl is always an empty string. Here on Debian it should
> be "/usr/share/qt5/doc/MODULE/", where MODULE is, for example,
> "qtwidgets" or "qtgui".
> 
> Then, getResource() always returns an empty QByteArray. Looks like
> this is not implemented yet?
> 
> P.S. Thanks for all your hard work on PyQt!

The demo assumes Qt4-like documentation. This won't be fixed until I
(eventually) sort out the PyQt5 documentation properly.

Phil


More information about the PyQt mailing list