Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. I am having a 404 with Qtwebengine when it works fine on chromium.

I am having a 404 with Qtwebengine when it works fine on chromium.

Scheduled Pinned Locked Moved Unsolved QtWebEngine
5 Posts 2 Posters 982 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.
  • C Offline
    C Offline
    codesardine
    wrote on last edited by
    #1

    I am having a 404 with this page, any idea why, code is bellow, it seems to work fine under chromium.

    #!/usr/bin/python3
    import sys
    from PySide2.QtCore import *
    from PySide2.QtWebEngineWidgets import *
    from PySide2.QtWidgets import QApplication

    app = QApplication(sys.argv)

    web = QWebEngineView()
    web.load(QUrl("https://pinappsdemo.pintexx.com"))
    web.show()

    sys.exit(app.exec_())

    JonBJ 1 Reply Last reply
    0
    • C codesardine

      I am having a 404 with this page, any idea why, code is bellow, it seems to work fine under chromium.

      #!/usr/bin/python3
      import sys
      from PySide2.QtCore import *
      from PySide2.QtWebEngineWidgets import *
      from PySide2.QtWidgets import QApplication

      app = QApplication(sys.argv)

      web = QWebEngineView()
      web.load(QUrl("https://pinappsdemo.pintexx.com"))
      web.show()

      sys.exit(app.exec_())

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @codesardine
      I am not an expert, but your URL is https. Don't you have to do some code for SSL in order to be allowed to visit this? And/or, your URL does redirection, do you have to allow for that in code?

      C 1 Reply Last reply
      0
      • JonBJ JonB

        @codesardine
        I am not an expert, but your URL is https. Don't you have to do some code for SSL in order to be allowed to visit this? And/or, your URL does redirection, do you have to allow for that in code?

        C Offline
        C Offline
        codesardine
        wrote on last edited by
        #3

        @JonB Should not need to any other https address seems to work.

        1 Reply Last reply
        1
        • C Offline
          C Offline
          codesardine
          wrote on last edited by
          #4

          Tests I have done, URL works on Qwebkit, electron, chromium and Firefox.

          JonBJ 1 Reply Last reply
          0
          • C codesardine

            Tests I have done, URL works on Qwebkit, electron, chromium and Firefox.

            JonBJ Offline
            JonBJ Offline
            JonB
            wrote on last edited by
            #5

            @codesardine
            Since you're getting a 404 it probably won't reveal much, but slot onto loadStarted() & loadProgress() just in case they reveal anything.

            Also have a look through https://doc.qt.io/qt-5/qwebenginesettings.html, is there any setting there which might help you see what is going on?

            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