Should depend on libqt4-script

Bug #645740 reported by Daniel Serpell
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qtcreator (Debian)
Fix Released
Unknown
qtcreator (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: qtcreator

On maverick, qtcreator 2.0.1-1ubuntu2 does not depend on libqt4-script, and if it's not installed, errors out with:

~$ qtcreator
Failed to load core: /usr/lib/qtcreator/plugins/Nokia/libCore.so: Cannot load library /usr/lib/qtcreator/plugins/Nokia/libCore.so: (libQtScript.so.4: cannot open shared object file: No such file or directory)

Also, after loading, the following is shown (installed with minimal dependencies):

-------------------------
Designer
/usr/lib/qtcreator/plugins/Nokia/libDesigner.so: Cannot load library /usr/lib/qtcreator/plugins/Nokia/libDesigner.so: (libQtDesigner.so.4: cannot open shared object file: No such file or directory)

Help
/usr/lib/qtcreator/plugins/Nokia/libHelp.so: Cannot load library /usr/lib/qtcreator/plugins/Nokia/libHelp.so: (libQtWebKit.so.4: cannot open shared object file: No such file or directory)

QmlProjectManager
Cannot load plugin because dependency failed to load: Qt4ProjectManager(2.0.1)
Reason: Cannot load plugin because dependency failed to load: Designer(2.0.1)
Reason: /usr/lib/qtcreator/plugins/Nokia/libDesigner.so: Cannot load library /usr/lib/qtcreator/plugins/Nokia/libDesigner.so: (libQtDesigner.so.4: cannot open shared object file: No such file or directory)

Qt4ProjectManager
Cannot load plugin because dependency failed to load: Designer(2.0.1)
Reason: /usr/lib/qtcreator/plugins/Nokia/libDesigner.so: Cannot load library /usr/lib/qtcreator/plugins/Nokia/libDesigner.so: (libQtDesigner.so.4: cannot open shared object file: No such file or directory)

ResourceEditor
/usr/lib/qtcreator/plugins/Nokia/libResourceEditor.so: Cannot load library /usr/lib/qtcreator/plugins/Nokia/libResourceEditor.so: (libQtDesigner.so.4: cannot open shared object file: No such file or directory)

-------------------------

Those could be resolved by depending on libqt4-designer and libqtwebkit4.

Related branches

Revision history for this message
Liam Dunn (ldunn) wrote :

I have added these depends, as well as libqt4-declarative (there was another error message that appeared when I tried to start qtcreator).

Changed in qtcreator (Ubuntu):
status: New → Confirmed
Revision history for this message
Artur Rona (ari-tczew) wrote :

Liam, thanks for your work, but your debdiff is incorrect. If you look on debdiff, it seems like you added only Depends on libqt4-declarative. Also in debian/changelog is not necessary white space between two stars. Please repair your patch and resubscribe ubuntu-sponsors when ready.

Revision history for this message
Artur Rona (ari-tczew) wrote :

However, I tried to reproduce this bug on qtcreator 2.0.1-1ubuntu2 and I don't got any warnings from terminal.

Changed in qtcreator (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Felix Geyer (debfx) wrote :

These dependencies are indeed missing but they shouldn't be added manually.
Currently dh_shlibdeps ignores the plugins.
I'll prepare a debdiff to change that.

Revision history for this message
Felix Geyer (debfx) wrote :

qtcreator (2.0.1-1ubuntu3) maverick; urgency=low

  * Don't ignore shared library dependencies of the plugins. QtCreator
    displays a warning on startup when they are missing. (LP: #645740)

 -- Felix Geyer <email address hidden> Thu, 23 Sep 2010 17:08:16 +0200

Changed in qtcreator (Ubuntu):
status: Incomplete → Confirmed
Artur Rona (ari-tczew)
Changed in qtcreator (Ubuntu):
assignee: nobody → Artur Rona (ari-tczew)
status: Confirmed → In Progress
Revision history for this message
Artur Rona (ari-tczew) wrote :

Thanks for your contribution!

Changed in qtcreator (Ubuntu):
assignee: Artur Rona (ari-tczew) → nobody
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qtcreator - 2.0.1-1ubuntu3

---------------
qtcreator (2.0.1-1ubuntu3) maverick; urgency=low

  * Don't ignore shared library dependencies of the plugins. QtCreator
    displays a warning on startup when they are missing. (LP: #645740)
 -- Felix Geyer <email address hidden> Thu, 23 Sep 2010 17:08:16 +0200

Changed in qtcreator (Ubuntu):
status: Fix Committed → Fix Released
Changed in qtcreator (Debian):
status: Unknown → 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.