Giter Club home page Giter Club logo

Comments (9)

Waqar144 avatar Waqar144 commented on May 25, 2024 1

its blocked on litehtml/litehtml#266 atm.

from zeal.

Waqar144 avatar Waqar144 commented on May 25, 2024 1

The patches in Qt have been merged. I have updated the qlitehtml dependency to latest

from zeal.

barolo avatar barolo commented on May 25, 2024

I have problems building your branch, it is still trying to build itself against webengine.
got wrong source, now it compiles but fails at end, during linking qlitehtml, I have checked the submodule out.
ld: cannot find -lqlitehtml: No such file or directory

Now it fails at building qlitehmtl, and I'm stuck, with errors like: 3rdparty/qlitehtml/src/container_qpainter_p.h:61:52: error: ‘tchar_t’ in namespace ‘litehtml’ does not name a type 61 | litehtml::uint_ptr create_font(const litehtml::tchar_t *faceName,

from zeal.

Waqar144 avatar Waqar144 commented on May 25, 2024

~ Now it fails at building qlitehmtl, and I'm stuck, with errors like: 3rdparty/qlitehtml/src/container_qpainter_p.h:61:52: error: ‘tchar_t’ in namespace ‘litehtml’ does not name a type 61 | litehtml::uint_ptr create_font(const litehtml::tchar_t *faceName,

Its probably conflicting with your system litehtml. You will have to uninstall it / force the litehtml git submodule to be used by editing the CMakeLists.txt in qlitehtml. I haven't fixed this properly yet.

from zeal.

barolo avatar barolo commented on May 25, 2024

~ Now it fails at building qlitehmtl, and I'm stuck, with errors like: 3rdparty/qlitehtml/src/container_qpainter_p.h:61:52: error: ‘tchar_t’ in namespace ‘litehtml’ does not name a type 61 | litehtml::uint_ptr create_font(const litehtml::tchar_t *faceName,

Its probably conflicting with your system litehtml. You will have to uninstall it / force the litehtml git submodule to be used by editing the CMakeLists.txt in qlitehtml. I haven't fixed this properly yet.

This seems to be the case, also the system's litehtml is in its latest version [0.9]. Correct me if I'm wrong but qlitehtml seems to be using quite old version of lite [0.6] which too would have to be fixed, as recent releases made some serious strides in css and layouting capabilities.

from zeal.

barolo avatar barolo commented on May 25, 2024

its blocked on litehtml/litehtml#266 atm.

Thanks, managed to compile it with patches provided to qt-review. Very snappy and lightweight, love it.
Renders text really nicely too, recently it looked liked shit in webengine for some reason.

image

from zeal.

barolo avatar barolo commented on May 25, 2024

Probably the best solution would be to have two packages, lite and full with webengine. The reason being that not all docs render properly.

from zeal.

trollixx avatar trollixx commented on May 25, 2024

Very cool! This is something I researched a lot in the past. Unfortunately, too many docsets require JavaScript to render (e.g. all MDN docs). So without regenerating those to not require JS, it'd be impossible to ship this. And given all docsets are coming from Dash, it'd be challenging to also invest in own docsets.

from zeal.

hhartzer avatar hhartzer commented on May 25, 2024

This is really cool! I'm curious, is there an issue reported at MDN regarding Javascript rendering to see if they may be open to updating their docs to not require Javascript?

Maybe a stop-gap testing measure for this could be adding a preference to disable Javascript in the rendering to see what happens?

from zeal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.