Qt Docs are not formatted in Qt Assistant

Bug #624697 reported by Rob Oakes
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qt4-x11 (Ubuntu)
Fix Released
Undecided
Unassigned
Declined for Lucid by Harald Sitter
Nominated for Maverick by Rob Oakes

Bug Description

In the Qt 4.7 packages for Maverick (and those back-ported to Karmic), the Qt help documentation appears unformatted. This means that paragraphs do not have proper spacing and navigation menus are distorted. It makes working with Qt docs very difficult. Qt Assistant should be recompiled with support for Webkit in order for the docs to appear correctly. Beta builds compiled by Nokia do not have problems displaying Qt docs.

Here is the output from ldd on my Ubuntu (10.04) system for the most recent packages.

linux-gate.so.1 => (0x00e50000)
 libQtHelp.so.4 => /usr/lib/libQtHelp.so.4 (0x00850000)
 libQtSql.so.4 => /usr/lib/libQtSql.so.4 (0x00b2a000)
 libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0x00e51000)
 libQtNetwork.so.4 => /usr/lib/libQtNetwork.so.4 (0x003fe000)
 libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0x00110000)
 libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x0064a000)
 libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00d91000)
 libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x00961000)
 libQtCLucene.so.4 => /usr/lib/libQtCLucene.so.4 (0x00541000)
 libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x003ac000)
 libQtDBus.so.4 => /usr/lib/libQtDBus.so.4 (0x00740000)
 libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x007bc000)
 libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x00abe000)
 libaudio.so.2 => /usr/lib/libaudio.so.2 (0x003d2000)
 libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0x00b6a000)
 libpng12.so.0 => /lib/libpng12.so.0 (0x007ec000)
 libz.so.1 => /lib/libz.so.1 (0x003e9000)
 libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00c36000)
 libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x008d5000)
 libSM.so.6 => /usr/lib/libSM.so.6 (0x00631000)
 libICE.so.6 => /usr/lib/libICE.so.6 (0x00811000)
 libXrender.so.1 => /usr/lib/libXrender.so.1 (0x0063a000)
 libXext.so.6 => /usr/lib/libXext.so.6 (0x0082a000)
 libX11.so.6 => /usr/lib/libX11.so.6 (0x0c12c000)
 libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x00644000)
 libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x0083a000)
 librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x00840000)
 /lib/ld-linux.so.2 (0x00944000)
 libQtXml.so.4 => /usr/lib/libQtXml.so.4 (0x00ad7000)
 libexpat.so.1 => /lib/libexpat.so.1 (0x00cf2000)
 libXt.so.6 => /usr/lib/libXt.so.6 (0x00d19000)
 libXau.so.6 => /usr/lib/libXau.so.6 (0x00849000)
 libpcre.so.3 => /lib/libpcre.so.3 (0x00cad000)
 libuuid.so.1 => /lib/libuuid.so.1 (0x00918000)
 libxcb.so.1 => /usr/lib/libxcb.so.1 (0x0091d000)
 libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00ce7000)

Rob Oakes (robertsoakes)
description: updated
Revision history for this message
Felix Geyer (debfx) wrote :

QtWebkit isn't built anymore from qt4-x11 so QtAssistant falls back (at build time) to QTextBrowser
which isn't able to handle the HTML/CSS in the Qt 4.7 docs. This causes the badly formatted docs.

We can't make qt4-x11 build-dep on libqtwebkit-dev as that would introduce a circular build-dependency.

A hackish solution would be to put QtAssistant into an own source package and patch the qmake project
files so it builds on its own. It requires some private header files so extra care needs to be taken that new
upstream versions/patches don't break it.

Changed in qt4-x11 (Ubuntu):
status: New → Confirmed
Revision history for this message
Felix Geyer (debfx) wrote :

Upstream bug (Launchpad won't let me add it as a remote bug url):
http://bugreports.qt.nokia.com/browse/QTBUG-13608

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

Fixed in:

qt4-x11 (4:4.7.0~rc1-1ubuntu3) maverick; urgency=low

  * Build QtWebkit so QtAssistant is able to link against it. (LP: #624697)
    We don't actually package QtWebkit here but make qt4-dev-tools depend on
    the binary-compatible libqtwebkit4 package.
    - add kubuntu_17_enable_qtwebkit_for_qtassistant.diff

 -- Felix Geyer <email address hidden> Tue, 14 Sep 2010 15:48:41 +0200

Changed in qt4-x11 (Ubuntu):
status: Confirmed → 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.