Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Qt QML Map | API key required in OSM
Forum Update on Monday, May 27th 2025

Qt QML Map | API key required in OSM

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 2 Posters 823 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.
  • K Offline
    K Offline
    Ketan__Patel__0011
    wrote on 16 Mar 2024, 07:02 last edited by
    #1

    Hello Friends and Qt Experts.

    I am trying to make an application with maps functionality and i follow some example codes about map and i developed the some functionality as per my need.

    I am using OSM plugins for maps and map is successfully loaded but i am getting the API key required watermark on map.

    i searched about it and tried some things but not getting any solution or any way to solve this problem.

    Is it possible in Qt ? or is there any bug in Qt about this ?

    i am using Qt 5.15 And Qt 6.6

    Please drop your idea here and share the solution if you have any solution and Also share your expertise.

    for code.
    I am using basic simple QML map example code.

    1 Reply Last reply
    0
    • C Christian Ehrlicher moved this topic from General and Desktop on 16 Mar 2024, 07:07
    • J Offline
      J Offline
      jeremy_k
      wrote on 16 Mar 2024, 18:08 last edited by
      #2

      The text comes from the now-default Qt Localtion OSM tile provider.

      See https://bugreports.qt.io/browse/QTBUG-114118 for details.

      This can be fixed by providing a license key, or by changing to another tile provider.
      https://bugreports.qt.io/browse/QTBUG-115742

      Asking a question about code? http://eel.is/iso-c++/testcase/

      K 1 Reply Last reply 16 Mar 2024, 18:20
      1
      • J jeremy_k
        16 Mar 2024, 18:08

        The text comes from the now-default Qt Localtion OSM tile provider.

        See https://bugreports.qt.io/browse/QTBUG-114118 for details.

        This can be fixed by providing a license key, or by changing to another tile provider.
        https://bugreports.qt.io/browse/QTBUG-115742

        K Offline
        K Offline
        Ketan__Patel__0011
        wrote on 16 Mar 2024, 18:20 last edited by
        #3

        @jeremy_k Thanks for your answer and reply.

        I already see those bug reports and many more.

        is there any way or solution for it ?
        i searched lot's of things about it but i didn't get the correct, proper and general solution.

        with use of this code

        PluginParameter {
            name: "osm.mapping.custom.host"
            value: "https://tile.openstreetmap.org/"
        }
        

        it is working but i can't use different tiles.

        1 Reply Last reply
        0

        1/3

        16 Mar 2024, 07:02

        • Login

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