<?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 Quick 6.9+ ContextMenu on Android - does it work?]]></title><description><![CDATA[<p dir="auto">Another stumbling block for a seemingly basic task: is there a way to use my own context menu on Android?</p>
<p dir="auto">If the documentation says:</p>
<blockquote>
<p dir="auto">The <code>ContextMenu</code> attached type provides a way to open a context menu in a platform-appropriate manner,</p>
</blockquote>
<p dir="auto">then why doesn’t this work?</p>
<pre><code>import QtQuick
import QtQuick.Window
import QtQuick.Controls

ApplicationWindow {
    visible: true
    width: 360
    height: 520

    Rectangle {
        width: 200
        height: 200
        color: "red"

        ContextMenu.menu: Menu {
            MenuItem { text: "Option 1" }
        }
    }
}
</code></pre>
<p dir="auto">I'm assuming that long tap on the red square should show me the context menu, but it doesn't happen.</p>
<p dir="auto">—<br />
Android 15+</p>
]]></description><link>https://forum.qt.io/topic/163129/qt-quick-6.9-contextmenu-on-android-does-it-work</link><generator>RSS for Node</generator><lastBuildDate>Sun, 22 Nov 2026 17:11:54 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/163129.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 01 Sep 2025 23:08:37 GMT</pubDate><ttl>60</ttl></channel></rss>