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. How to enable allowGeolocationOnInsecureOrigins in Python
Forum Updated to NodeBB v4.3 + New Features

How to enable allowGeolocationOnInsecureOrigins in Python

Scheduled Pinned Locked Moved Unsolved QtWebEngine
1 Posts 1 Posters 382 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.
  • A Offline
    A Offline
    Azeem Shami
    wrote on last edited by
    #1

    I'm making a browser in Python with PyQt5. I want to enable Google Geo Location API. Basically I want to show popup when a site want to get user's location.

    self.browser = QWebEngineView()
    self.browser.allowGeolocationOnInsecureOrigins:True

    If we can auto allow the browser for getting location permission that will be best.

    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