The qt4 designer python plugin is built but not installed.

Bug #158342 reported by Wouter van Heyst
8
Affects Status Importance Assigned to Milestone
python-qt4 (Ubuntu)
Fix Released
Undecided
Jonathan Riddell
Gutsy
Fix Released
Undecided
Unassigned
Hardy
Fix Released
Undecided
Jonathan Riddell

Bug Description

Binary package hint: python-qt4

It took me a while to find out that was the reason why following http://www.diotavelli.net/PyQtWiki/Using_Python_Custom_Widgets_in_Qt_Designer did not work.

With the simple patch attached /usr/lib/qt4/plugins/designer/libpythonplugin.so will be installed and
scanned by designer when it starts up.

Revision history for this message
Wouter van Heyst (larstiq) wrote :
Revision history for this message
Evan Powers (evan-powers+bugzilla) wrote :

I can confirm this; I was specifically looking for it after my 7.06->7.10 upgrade and was surprised when it wasn't installed (python-qt4_4.3-2ubuntu7).

What's odd is that the packaging appears to have all the machinery in place to build the plugin; it just doesn't install it. Looking at previous package versions, it looks like 4.2-1 added support for the plugin, and 4.2-1ubuntu1 installed the plugin as part of python-qt4-*.deb. The next Ubuntu version, 4.3-2ubuntu1, removed a line from debian/python-qt4.install and consequently does not install it--but there's no mention of this in the changelog.

As noted in the previous comment, a one line addition to an *.install file appears to be all that's needed.

Matthias Klose (doko)
Changed in python-qt4:
assignee: nobody → jr
Revision history for this message
Jonathan Riddell (jr) wrote :
Revision history for this message
Jonathan Riddell (jr) wrote :

python-qt4 (4.3.1-1ubuntu2) hardy; urgency=low

  * Add usr/lib/qt4/plugins/designer/ to pyqt4-dev-tools.install
    Closes LP: #158342

 -- Jonathan Riddell <email address hidden> Tue, 13 Nov 2007 17:11:03 +0000

Changed in python-qt4:
status: New → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into gutsy-proposed, please test. Wouter/Jonathan, please update the description to have a monkey-proof "TEST CASE:" for the SRU verification team (see https://wiki.ubuntu.com/StableReleaseUpdates). Thank you!

Changed in python-qt4:
status: New → Fix Committed
Revision history for this message
Anthony Mercatante (tonio) wrote :

I removed the fix from the gutsy package, as pyqt4-dev-tools and python-qt4 both have the file in it, and pyqt4-dev-tools depends on python-qt4, is therefore not installable.
Due to the dependancy added, including the .so file in the package is no more required.

Revision history for this message
Evan Powers (evan-powers+bugzilla) wrote :

I can confirm that the gutsy-proposed 4.3-2ubuntu7.1 version solves this bug for me. Thanks everyone.

Revision history for this message
Evan Powers (evan-powers+bugzilla) wrote :

So, in Hardy 4.3.1-1ubuntu4, the designer plugin is installed by python-qt4, not pyqt4-dev-tools? Sure that makes sense?

Revision history for this message
Martin Pitt (pitti) wrote :

verification-done as per comment 7. Copied to gutsy-updates, thank you!

Changed in python-qt4:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.