python-qt4-doc examples do not work
Bug #462895 reported by
sipiatti
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-qt4 (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
Binary package hint: python-qt4
The most of the python-qt4 examples in Karmic (RC) do not work. They want to import a modul with the same name of them with an '_rc' at the end. But these files are missing.
Example:
qtdemo.py wants to import qtdemo_rc
systray.py wants to import systray_rc
etc.
package: python-
To post a comment you must log in.
Seems like a few things were missed when packaging the examples. xml/examples. xml.gz and run
For qtdemo and systray the resource files aren't compiled and an xml file that is needed by qtdemo is gzipped.
so to fix qtdemo you need to unzip qtdemo/
pyrcc4 -o qtdemo_rc.py qtdemo.qrc
to fix systray you need to run
pyrcc4 -o systray_rc.py systray.qrc
Note: pyrcc4 is part of the pyqt4-dev-tools package