FS#29395 - [qt] missing qtwebkit support in assistant
Attached to Project:
Arch Linux
Opened by Zoltan Voros (zedzither) - Wednesday, 11 April 2012, 11:33 GMT
Last edited by Andrea Scarpino (BaSh) - Friday, 01 March 2013, 20:42 GMT
Opened by Zoltan Voros (zedzither) - Wednesday, 11 April 2012, 11:33 GMT
Last edited by Andrea Scarpino (BaSh) - Friday, 01 March 2013, 20:42 GMT
|
Details
Description:
The Qt assistant is compiled without qtwebkit support. Because of this, assistant can't display correctly help with css. Additional info: package: extra/qt v4.8.1 Solution: The problem can be solved by removing "-no-webkit" flag from PKGBUILD. Also this will affect the qtwebkit package, which will be generated by the qt package with this modification. |
This task depends upon
Closed by Andrea Scarpino (BaSh)
Friday, 01 March 2013, 20:42 GMT
Reason for closing: Fixed
Additional comments about closing: qt5-tools 5.0.1-1
Friday, 01 March 2013, 20:42 GMT
Reason for closing: Fixed
Additional comments about closing: qt5-tools 5.0.1-1
Maybe if we rebuild qt when qtwebkit is installed this will enable WebKit support in Assistant, but this means that we introduce a circular dependence.
Both solutions are a NOGO for me.
It depends on qt but conflicts only with qt < 4.8, so why need to be separated form qt?
Latest QtWebKit (stable) sources are merged in the qt tarball when there's a new qt release, but qtwebkit could release a new stable version after the qt release.
It seems there is not much to do about this. The only way for me, to maintain my own version, because the upstream approach not allows us to deal with this. I must also note: the help of Qt is also displayed incorrectly because of this problem.
I don't know that I should keep this task open (maybe acceptable solution will be available in the future), or make a closure request.
I suggest you to try to rebuild the qt package with the qtwebkit package installed and see if this works.
This should be reported upstream IMHO.
I attached screenshots that represents my problem. qthelp-without-css.png is made by my collegue with the original arch version of Qt. qthelp-with-css.png is made using a rebuilt version of Qt with modified PKGBUILD (I removed the -no-webkit configure flag).
About assistant css support: Qt help system uses html based collection as help file (technically it's a webpage extended with index and contents informations). In html we often use css (http://en.wikipedia.org/wiki/Cascading_Style_Sheets) to keep the design (look and feel) separated from the content. Assistant normally uses qtwebkit to render and display these contents. If assistant is built without webkit support, it's falling back to a minimalistic html renderer, with can't handle css, and some other advenced html elements. Because of this, the look and feel of the help can be incorrect, or some special cases (mostly with scaled pictures) can be totally wrong.
qthelp-without-css.png (209.5 KiB)
I don't know many people who will need the separate qtwebkit package but I guess a lot more people use qtcreator and need to refer to its help, where font can be too small and unchangeable with qt compiled without webkit.