Skip to content

Styling of .qch document #47

Open
Open

Description

@szotsaki

The styling of the latest qch book (20170409.tar.gz) is missing under Qt Creator 4.2 and 4.3.

Please, take a look at the attached screenshot:

image

Activity

  1. p12tic commented on Jun 2, 2017

    @p12tic
    Owner

    Thanks, I was able to reproduce this too. Not sure how such an error got into release...

  2. estan commented on Oct 7, 2017

    @estan

    When QtWebkit was deprecated, Qt Creator switched to using QTextBrowser for the help browser by default, which only supports a very limited HTML/CSS (http://doc.qt.io/qt-5/richtext-html-subset.html). It will still use QtWebkit if available when building Qt Creator I think, but the official binaries do not.

    For the cppreference qch to look good with this, someone would have to write a special CSS that takes the limited capability of QTextBrowser into account. I'm not sure how feasible that is.

  3. andoks commented on May 8, 2018

    @andoks

    This problem is registered in the Qt issue tracker here

  4. p12tic commented on May 8, 2018

    @p12tic
    Owner

    The fix for this issue is in progress. QTextBrowser does not support <style> tags, but it supports style attributes. We're currently looking into using premailer project to transfer this information around.

  5. PeterFeicht commented on Oct 20, 2018

    @PeterFeicht
    Contributor

    Should this be closed or are there still issues with the QCH archive?

  6. p12tic commented on Oct 20, 2018

    @p12tic
    Owner

    It's readable right now, but there are still some visual issues that need fixing.

  7. ilyapopov commented on Dec 12, 2019

    @ilyapopov

    QtCreator 4.11 introduced a new help rendering backend which looks better than the old one, see #79 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions