<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Qt&#x2F;Qml in Android project and Bluetooth permission]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I encountered a weird problem. My setup is as following : I have a Qt/QML application (6.10.1) which can be standalone or included in an Android project (12+) (for preprocessing and some other treatments), as per <a href="https://www.qt.io/blog/add-qtactivity-to-existing-android-studio-project" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.qt.io/blog/add-qtactivity-to-existing-android-studio-project</a>. Location permission is correctly forwarded/set up when I use my app in standalone mode or called from Android app.</p>
<p dir="auto">Recently, I wanted to add TPMS sensors to my Qt app. I use QtBluetooth, add permissions request at runtime. Standalone app works as expected.</p>
<p dir="auto">I then updated my Android project and manifest, requested permissions. But QBluetooth part never gets Bluetooth permissions and runtime requests in Qt are never fired/shown : Android app has permissions, main C++ in Qt has permissions, but Qt Bluetooth device scan failed.</p>
<p dir="auto">Has anyone ever encountered that ?</p>
<p dir="auto">My workaround for now is to create a Java class I call through JNI from my Qt part.</p>
]]></description><link>https://forum.qt.io/topic/164561/qt-qml-in-android-project-and-bluetooth-permission</link><generator>RSS for Node</generator><lastBuildDate>Fri, 22 May 2026 07:34:42 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/164561.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 14 Apr 2026 11:37:35 GMT</pubDate><ttl>60</ttl></channel></rss>