<?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[QComboBox connect with lamba error]]></title><description><![CDATA[<pre><code>connect(mComboBox, &amp;QComboBox::currentIndexChanged, [&amp;]() {
    // ...
});
</code></pre>
<blockquote>
<p dir="auto">error: C2664: 'QMetaObject::Connection QObject::connect(const QObject *,const char *,const char *,Qt::ConnectionType) const': cannot convert argument 2 from 'overloaded-function' to 'const char *'</p>
</blockquote>
]]></description><link>https://forum.qt.io/topic/85058/qcombobox-connect-with-lamba-error</link><generator>RSS for Node</generator><lastBuildDate>Fri, 31 Jul 2026 15:46:14 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/85058.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 15 Nov 2017 15:47:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QComboBox connect with lamba error on Wed, 15 Nov 2017 16:32:35 GMT]]></title><description><![CDATA[<p dir="auto">Thank you guys &lt;3</p>
]]></description><link>https://forum.qt.io/post/426211</link><guid isPermaLink="true">https://forum.qt.io/post/426211</guid><dc:creator><![CDATA[Dohisev]]></dc:creator><pubDate>Wed, 15 Nov 2017 16:32:35 GMT</pubDate></item><item><title><![CDATA[Reply to QComboBox connect with lamba error on Wed, 15 Nov 2017 16:32:05 GMT]]></title><description><![CDATA[<p dir="auto">To point you exactly in the specific place of @JNBarchan 's liks: <a href="http://doc.qt.io/qt-5/signalsandslots-syntaxes.html#selecting-overloaded-signals-and-slots" target="_blank" rel="noopener noreferrer nofollow ugc">http://doc.qt.io/qt-5/signalsandslots-syntaxes.html#selecting-overloaded-signals-and-slots</a></p>
<p dir="auto">If your compiler supports C++14 you can use <a href="http://doc.qt.io/qt-5/qtglobal.html#qOverload" target="_blank" rel="noopener noreferrer nofollow ugc">qOverload()</a></p>
]]></description><link>https://forum.qt.io/post/426210</link><guid isPermaLink="true">https://forum.qt.io/post/426210</guid><dc:creator><![CDATA[VRonin]]></dc:creator><pubDate>Wed, 15 Nov 2017 16:32:05 GMT</pubDate></item><item><title><![CDATA[Reply to QComboBox connect with lamba error on Wed, 15 Nov 2017 15:58:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dohisev">@<bdi>Dohisev</bdi></a><br />
and <a href="http://doc.qt.io/qt-5/signalsandslots-syntaxes.html" target="_blank" rel="noopener noreferrer nofollow ugc">http://doc.qt.io/qt-5/signalsandslots-syntaxes.html</a> or <a href="https://asmaloney.com/2016/03/code/using-c11-lambdas-as-qt-slots/" target="_blank" rel="noopener noreferrer nofollow ugc">https://asmaloney.com/2016/03/code/using-c11-lambdas-as-qt-slots/</a> for Lambdas?</p>
]]></description><link>https://forum.qt.io/post/426206</link><guid isPermaLink="true">https://forum.qt.io/post/426206</guid><dc:creator><![CDATA[JonB]]></dc:creator><pubDate>Wed, 15 Nov 2017 15:58:23 GMT</pubDate></item><item><title><![CDATA[Reply to QComboBox connect with lamba error on Wed, 15 Nov 2017 15:55:40 GMT]]></title><description><![CDATA[<p dir="auto"><a href="http://doc.qt.io/qt-5/qcombobox.html#currentIndexChanged" target="_blank" rel="noopener noreferrer nofollow ugc">http://doc.qt.io/qt-5/qcombobox.html#currentIndexChanged</a></p>
]]></description><link>https://forum.qt.io/post/426205</link><guid isPermaLink="true">https://forum.qt.io/post/426205</guid><dc:creator><![CDATA[VRonin]]></dc:creator><pubDate>Wed, 15 Nov 2017 15:55:40 GMT</pubDate></item></channel></rss>