Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Any alternative to QtWebEngine for MinGW?
Forum Updated to NodeBB v4.3 + New Features

Any alternative to QtWebEngine for MinGW?

Scheduled Pinned Locked Moved Unsolved General and Desktop
11 Posts 5 Posters 9.1k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    JScars
    wrote on last edited by
    #1

    I need to make something like a "manual" for my program, so i need to show images and text in an ordered and pretty form, just like a html content.

    I know that i can show web pages using QtWebEngine but i can't use it since it doesn't support the MinGW version of Qt, so i need an alternative. I alredy tryed using QMessageBox and QTextBrowser but it doesn't work perfectly with the CSS code (with the images specifically).

    Is there another tool or widget to acomply this?

    P.D: I really don't want to use the MSVC version.

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      Maybe you can use webkit ?
      https://forum.qt.io/topic/76739/webkit-status-2017
      as far as i know there is a mingw version.

      However, since Qt can use QTextBrowser for its documentation,. i wonder
      if reducing the use of CSS code would not be less of a hassle as to have
      your own browser just for a manual.
      Also to make it more future proof.

      1 Reply Last reply
      0
      • J Offline
        J Offline
        JScars
        wrote on last edited by
        #3

        But for compile WebKit i need to have MSVS2015... Is the same.
        I'll try work with QTextBrowwser .
        ~Thanks for the help

        mrjjM 1 Reply Last reply
        0
        • J JScars

          But for compile WebKit i need to have MSVS2015... Is the same.
          I'll try work with QTextBrowwser .
          ~Thanks for the help

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @JScars
          So even using something like
          https://github.com/annulen/webkit/releases/download/qtwebkit-5.212.0-alpha2/qtwebkit-5.212.0_alpha2-qt59-mingw530-x86.zip

          You still need visual studio ??

          1 Reply Last reply
          1
          • P Offline
            P Offline
            patrik08
            wrote on last edited by
            #5

            If you must only play html javascript & css as manual..
            you can create a epub file... link href enable...
            from rtf html + css or pdf after convert online
            https://ebook.online-convert.com/convert-to-epub
            on this way you can use epub lib from calligra or okular or FBReader e-book e encapsulate on a widged abstract or a qml ... not need web tool (external link go direct to browser) quick2 scrollarea... as vector draw & you not need browser...
            but i suppose that is possibel to build a static lib in Cygwin as QtWebEngine && qml QtWebView 1.1 tool cmake can buil many lib...

            1 Reply Last reply
            0
            • J Offline
              J Offline
              JScars
              wrote on last edited by
              #6

              @mrjj
              sorry, i readed it wrong... Seems like it works, let me prove.

              1 Reply Last reply
              0
              • J Offline
                J Offline
                JScars
                wrote on last edited by
                #7

                @mrjj
                I was right i think. I need MSVS to install QtWebKit.
                See this https://github.com/annulen/webkit/wiki/Building-QtWebKit-on-Windows

                mrjjM 1 Reply Last reply
                0
                • J JScars

                  @mrjj
                  I was right i think. I need MSVS to install QtWebKit.
                  See this https://github.com/annulen/webkit/wiki/Building-QtWebKit-on-Windows

                  mrjjM Offline
                  mrjjM Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @JScars
                  Hmm odd.
                  I was under the impressions that there was prebuild available.

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    @Konstantin-Tokarev ping, can you confirm the compilers available for the QtWebKit reboot ?

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0
                    • K Offline
                      K Offline
                      Konstantin Tokarev
                      wrote on last edited by
                      #10

                      MinGW is supported, there are prebuilt binaries

                      1 Reply Last reply
                      4
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #11

                        @Konstantin-Tokarev Thanks !

                        Interested in AI ? www.idiap.ch
                        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                        1 Reply Last reply
                        1

                        • Login

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Groups
                        • Search
                        • Get Qt Extensions
                        • Unsolved