Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Using firefox as default browser of QWebkit
QtWS25 Last Chance

Using firefox as default browser of QWebkit

Scheduled Pinned Locked Moved Unsolved Qt WebKit
qwebkit
8 Posts 3 Posters 2.3k Views
  • 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.
  • N Offline
    N Offline
    Naser 0
    wrote on 26 Nov 2019, 09:23 last edited by
    #1

    Hello everybody
    I am developing a QWebkit project on Raspberry pi4.
    I want to show some Arabic pages on my QWebview.
    Most of things are showen correctly but some words are overlapping.what is my problem?
    I think my QWebview browser is chromium and not working well and i want to change my browser to firefox. maybe my problem will be solved.can i do that and how?
    thank you

    J 1 Reply Last reply 26 Nov 2019, 09:40
    0
    • N Naser 0
      26 Nov 2019, 09:23

      Hello everybody
      I am developing a QWebkit project on Raspberry pi4.
      I want to show some Arabic pages on my QWebview.
      Most of things are showen correctly but some words are overlapping.what is my problem?
      I think my QWebview browser is chromium and not working well and i want to change my browser to firefox. maybe my problem will be solved.can i do that and how?
      thank you

      J Offline
      J Offline
      JonB
      wrote on 26 Nov 2019, 09:40 last edited by JonB
      #2

      @Naser-0
      QWebEngine... is the Chromium engine. I'm not sure which browsers QWebKit works best with. You can't "change my browser to firefox", they don't use a browser, they have their own in-built engines.

      Rethink: maybe I'm wrong about that. See e.g. https://forum.qt.io/topic/103938/qwebview-browser-not-supported. You might need something with request.setRawHeader("User-Agent", ...), thought the user there did not get what he wanted to work.

      I know nothing about RPis. But is there a reason you wish to continue using QtWebKit instead of the newer QtWebEngine? Maybe the latter would address your issue? If you do persist with QtWebKit, I think it's important you are at the very latest version, which I believe comes separately from your Qt version.

      1 Reply Last reply
      0
      • N Offline
        N Offline
        Naser 0
        wrote on 26 Nov 2019, 10:51 last edited by Naser 0
        #3

        @JonB
        Thank you for your answer.
        unfortunately i have not QWebengine on my RPi.i just have QWebkit
        Can i compile QWebengine seperately? Or i should install it with Qt installation?

        J 1 Reply Last reply 26 Nov 2019, 10:56
        0
        • N Naser 0
          26 Nov 2019, 10:51

          @JonB
          Thank you for your answer.
          unfortunately i have not QWebengine on my RPi.i just have QWebkit
          Can i compile QWebengine seperately? Or i should install it with Qt installation?

          J Offline
          J Offline
          JonB
          wrote on 26 Nov 2019, 10:56 last edited by
          #4

          @Naser-0
          I'm afraid you'll have to await answer from someone else for installing/compiling/obtaining for RPi, or do a Google search.

          What version of Qt are you using? QWebKit was deprecated quite a while ago. I know @Konstantin-Tokarev still maintains a latest non-Qt-supplied version if you want to stick with it. Personally, and no offence to him, I moved over to QWebEngine for simplicity.

          1 Reply Last reply
          0
          • N Offline
            N Offline
            Naser 0
            wrote on 26 Nov 2019, 11:04 last edited by Naser 0
            #5

            @JonB
            Im using Qt 5.11.3 on my Pi;
            I did not know that QWebkit is deprecated.
            I want to work with QWebEngine but as i saied , i have not it on my pi and dont know how to compile it seperately.
            But I will search on google about that. hope to find a solution.
            I will send a message to @Konstantin-Tokarev too.
            Thank you

            J 1 Reply Last reply 26 Nov 2019, 11:08
            0
            • N Naser 0
              26 Nov 2019, 11:04

              @JonB
              Im using Qt 5.11.3 on my Pi;
              I did not know that QWebkit is deprecated.
              I want to work with QWebEngine but as i saied , i have not it on my pi and dont know how to compile it seperately.
              But I will search on google about that. hope to find a solution.
              I will send a message to @Konstantin-Tokarev too.
              Thank you

              J Offline
              J Offline
              JonB
              wrote on 26 Nov 2019, 11:08 last edited by JonB
              #6

              @Naser-0

              I did not know that QWebkit is deprecated.

              QWebKit is no longer even in the (current) Qt docs! Once you have your QWebEngine, see https://doc.qt.io/qt-5/qtwebenginewidgets-qtwebkitportingguide.html.

              1 Reply Last reply
              0
              • N Offline
                N Offline
                Naser 0
                wrote on 26 Nov 2019, 11:21 last edited by
                #7

                @JonB
                Yeah I got it.
                I am trying to compile QWebEngine.
                Thank you for your guidance.

                A 1 Reply Last reply 3 Feb 2020, 12:27
                0
                • N Naser 0
                  26 Nov 2019, 11:21

                  @JonB
                  Yeah I got it.
                  I am trying to compile QWebEngine.
                  Thank you for your guidance.

                  A Offline
                  A Offline
                  alosbh
                  wrote on 3 Feb 2020, 12:27 last edited by
                  #8

                  Hello @Naser-0,

                  Did you managed to compile it? Im struggling with qwebkit on my Rpi as well. Regards

                  1 Reply Last reply
                  0

                  • Login

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