QML mapviewer permission
-
Hello there :)
I'm trying to run the mapviewer example... but I get this error on macOS. Can you help me?qt.permissions: Could not find permission plugin for QLocationPermission. Please make sure you have included the required usage description in your Info.plist
In the .pro I added
# Include Info.plist QMAKE_INFO_PLIST = Info.plistThis is the Info.plist
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CFBundleIdentifier</key> <string>com.yourcompany.yourapp</string> <key>CFBundleName</key> <string>Your App Name</string> <key>NSLocationWhenInUseUsageDescription</key> <string>Descrizione dell'uso della posizione quando l'app è in uso</string> <key>NSLocationAlwaysUsageDescription</key> <string>Descrizione dell'uso della posizione sempre</string> </dict> </plist> -
Hi and welcome to devnet,
Which version of Qt are you using ?