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. Limit browsing inside domain

Limit browsing inside domain

Scheduled Pinned Locked Moved Unsolved Qt WebKit
7 Posts 3 Posters 1.1k 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.
  • SteMMoS Offline
    SteMMoS Offline
    SteMMo
    wrote on last edited by
    #1

    Hello all,
    I'm developing a kiosk machine and I need to navigate on a local page and eventually a defined domain. I'd like to write a simple Qt app with WebKit module.

    Is it possible with WebKit and related to limit browsing and achieve what I need?
    Thanks!

    JonBJ Pablo J. RoginaP 2 Replies Last reply
    0
    • SteMMoS SteMMo

      Hello all,
      I'm developing a kiosk machine and I need to navigate on a local page and eventually a defined domain. I'd like to write a simple Qt app with WebKit module.

      Is it possible with WebKit and related to limit browsing and achieve what I need?
      Thanks!

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

      @SteMMo
      If you want to stick with QtWebKit you may have to wait for @Konstantin-Tokarev to read this. Are you aware of QtWebEngine, https://doc.qt.io/qt-5/qtwebengine-index.html, which is what Qt > 5.5 now ships with out-of-the-box?

      1 Reply Last reply
      1
      • SteMMoS Offline
        SteMMoS Offline
        SteMMo
        wrote on last edited by
        #3

        @JonB
        I need to check on the board to understand which Qt version is supported ..

        1 Reply Last reply
        0
        • SteMMoS Offline
          SteMMoS Offline
          SteMMo
          wrote on last edited by
          #4

          On my board I have the Qt 5.7.1
          I've developed a very simple application based on QtWebEngine: this is developed on Windows (5.9.9) and moved + compiled on 5.7.1 - It is ruuning !
          Now I'd like to control the navigation ..

          JonBJ 1 Reply Last reply
          0
          • SteMMoS SteMMo

            On my board I have the Qt 5.7.1
            I've developed a very simple application based on QtWebEngine: this is developed on Windows (5.9.9) and moved + compiled on 5.7.1 - It is ruuning !
            Now I'd like to control the navigation ..

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

            @SteMMo
            I'm not an expert, but what about QWebEnginePage::acceptNavigationRequest ? You can examine the URL and accept/reject it, according to your criteria.

            1 Reply Last reply
            0
            • SteMMoS SteMMo

              Hello all,
              I'm developing a kiosk machine and I need to navigate on a local page and eventually a defined domain. I'd like to write a simple Qt app with WebKit module.

              Is it possible with WebKit and related to limit browsing and achieve what I need?
              Thanks!

              Pablo J. RoginaP Offline
              Pablo J. RoginaP Offline
              Pablo J. Rogina
              wrote on last edited by
              #6

              @SteMMo said in Limit browsing inside domain:

              eventually a defined domain.

              If the domain is predefined beforehand, why would you let the users type it or anything else?

              I'd just provide a way for them to select such predefined domain via a link/button/etc. pointing to such location

              Upvote the answer(s) that helped you solve the issue
              Use "Topic Tools" button to mark your post as Solved
              Add screenshots via postimage.org
              Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

              SteMMoS 1 Reply Last reply
              0
              • Pablo J. RoginaP Pablo J. Rogina

                @SteMMo said in Limit browsing inside domain:

                eventually a defined domain.

                If the domain is predefined beforehand, why would you let the users type it or anything else?

                I'd just provide a way for them to select such predefined domain via a link/button/etc. pointing to such location

                SteMMoS Offline
                SteMMoS Offline
                SteMMo
                wrote on last edited by
                #7

                @Pablo-J-Rogina I need to explain:
                the kiosk needs to show two kind of pages:

                1. a registration form
                2. a public web site that contains some links that bring the normal user out of the portal, but not the user in front of the kiosk.

                @JonB now the browser is a QML object so I have the WebEngineView object; I don't know how to access to QWebEnginePage object ..

                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