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. PluginParameter not being recognized for some reason? (Unknown Component. M300)
Forum Updated to NodeBB v4.3 + New Features

PluginParameter not being recognized for some reason? (Unknown Component. M300)

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
qmlqueryhelpqtlocationplugin issue
2 Posts 2 Posters 369 Views 1 Watching
  • 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
    arnavpraneet
    wrote on 3 Jul 2024, 20:18 last edited by
    #1

    Not sure how I ran into this weird error but here

    import QtQuick 2.0
    import QtLocation 5.15
    import QtPositioning 5.12
    
    Rectangle {
        id: rightScreen
        anchors {
            top: parent.top
            bottom: bottomBar.top
            right: parent.right
        }
    
        width: parent.width * (2 / 3)
    
        Plugin {
            id: plugin
            name: "osm"
        }
    
        Map {
                anchors.fill: parent
                zoomLevel: 14
                plugin: Plugin {
                    name: "osm"
                    PluginParameter { name: "osm.mapping.providersrepository.address"; value: "https://myurl.com" }
                    PluginParameter { name: "osm.mapping.highdpi_tiles"; value: true }
                }
                activeMapType: supportedMapTypes[1] // Cycle map provided by Thunderforest
            }
    }
    
    

    This is one of the many attempts at implementing osm with the API I have been trying but the only thing Qt Creator is saying is PluginParameter is not a type, which is not turning up any relevant hits on StackOverflow or the forums as far as I can tell.
    Version of Qt: 6.7.2
    Qt Creator: 13.0.1 (Community)
    Any help would be appreciated

    1 Reply Last reply
    0
    • C Offline
      C Offline
      CharlesV
      wrote on 31 Jan 2025, 23:59 last edited by
      #2

      I have the exact same issue. Were you able to fix it?

      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