Qt Docs are not formatted in Qt Assistant
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qt4-x11 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
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/
libQtSql.so.4 => /usr/lib/
libQtGui.so.4 => /usr/lib/
libQtNetwork.so.4 => /usr/lib/
libQtCore.so.4 => /usr/lib/
libstdc++.so.6 => /usr/lib/
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00d91000)
libc.so.6 => /lib/tls/
libQtCLucene.so.4 => /usr/lib/
libm.so.6 => /lib/tls/
libQtDBus.so.4 => /usr/lib/
libfontconfig.so.1 => /usr/lib/
libpthread.so.0 => /lib/tls/
libaudio.so.2 => /usr/lib/
libglib-2.0.so.0 => /lib/libglib-
libpng12.so.0 => /lib/libpng12.so.0 (0x007ec000)
libz.so.1 => /lib/libz.so.1 (0x003e9000)
libfreetype.so.6 => /usr/lib/
libgobject-
libSM.so.6 => /usr/lib/libSM.so.6 (0x00631000)
libICE.so.6 => /usr/lib/
libXrender.so.1 => /usr/lib/
libXext.so.6 => /usr/lib/
libX11.so.6 => /usr/lib/
libdl.so.2 => /lib/tls/
libgthread-
librt.so.1 => /lib/tls/
/lib/ld-linux.so.2 (0x00944000)
libQtXml.so.4 => /usr/lib/
libexpat.so.1 => /lib/libexpat.so.1 (0x00cf2000)
libXt.so.6 => /usr/lib/libXt.so.6 (0x00d19000)
libXau.so.6 => /usr/lib/
libpcre.so.3 => /lib/libpcre.so.3 (0x00cad000)
libuuid.so.1 => /lib/libuuid.so.1 (0x00918000)
libxcb.so.1 => /usr/lib/
libXdmcp.so.6 => /usr/lib/
description: | updated |
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.