<?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[How  in Qt6 use c++ signal with argument in qml?]]></title><description><![CDATA[<p dir="auto">Hi!<br />
How  in Qt6 use c++ signal with argument in qml?<br />
It is nor work:</p>
<pre><code>signals:
    void currentIdSeansForScheduleChanged(int currentIdSeansForSchedule);
</code></pre>
<pre><code>    Connections {
        target: AppCore
        function onCurrentIdSeansForSchedule(idUser) {
            console.log(2222222)
        }
    }
</code></pre>
<p dir="auto">I get the error:</p>
<pre><code>qrc:/Schedule.qml:6:5: QML Connections: Detected function "onCurrentIdSeansForSchedule" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
</code></pre>
]]></description><link>https://forum.qt.io/topic/133997/how-in-qt6-use-c-signal-with-argument-in-qml</link><generator>RSS for Node</generator><lastBuildDate>Wed, 17 Jun 2026 10:34:05 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/133997.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 01 Feb 2022 08:59:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How  in Qt6 use c++ signal with argument in qml? on Wed, 02 Feb 2022 19:41:49 GMT]]></title><description><![CDATA[<p dir="auto">So my suggestion was correct ?</p>
]]></description><link>https://forum.qt.io/post/701153</link><guid isPermaLink="true">https://forum.qt.io/post/701153</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Wed, 02 Feb 2022 19:41:49 GMT</pubDate></item><item><title><![CDATA[Reply to How  in Qt6 use c++ signal with argument in qml? on Wed, 02 Feb 2022 12:27:42 GMT]]></title><description><![CDATA[<p dir="auto">Sorry, it worked by itself</p>
]]></description><link>https://forum.qt.io/post/701126</link><guid isPermaLink="true">https://forum.qt.io/post/701126</guid><dc:creator><![CDATA[Mihaill]]></dc:creator><pubDate>Wed, 02 Feb 2022 12:27:42 GMT</pubDate></item><item><title><![CDATA[Reply to How  in Qt6 use c++ signal with argument in qml? on Wed, 02 Feb 2022 07:52:59 GMT]]></title><description><![CDATA[<p dir="auto">Then please provide a minimal compilable example that shows the issue.</p>
]]></description><link>https://forum.qt.io/post/701105</link><guid isPermaLink="true">https://forum.qt.io/post/701105</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Wed, 02 Feb 2022 07:52:59 GMT</pubDate></item><item><title><![CDATA[Reply to How  in Qt6 use c++ signal with argument in qml? on Wed, 02 Feb 2022 06:08:16 GMT]]></title><description><![CDATA[<p dir="auto">But it's not work</p>
]]></description><link>https://forum.qt.io/post/701101</link><guid isPermaLink="true">https://forum.qt.io/post/701101</guid><dc:creator><![CDATA[Mihaill]]></dc:creator><pubDate>Wed, 02 Feb 2022 06:08:16 GMT</pubDate></item><item><title><![CDATA[Reply to How  in Qt6 use c++ signal with argument in qml? on Tue, 01 Feb 2022 20:36:49 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">If memory serves well it should be:</p>
<pre><code>onCurrentIdSeansForScheduleChanged
</code></pre>
]]></description><link>https://forum.qt.io/post/701074</link><guid isPermaLink="true">https://forum.qt.io/post/701074</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Tue, 01 Feb 2022 20:36:49 GMT</pubDate></item></channel></rss>