<?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[Error: Unable to determine callable overload]]></title><description><![CDATA[<p dir="auto">I have a static qml object called CommandsEntites with a signal commandCprFinish() that is connect to other signals from several different dinamic Node objects, called LineThick and CircleThick.<br />
This two are derived from a base Node item called EntityTemplate, where the receiver signal is defined.</p>
<p dir="auto">The code worked fine until Qt6.4.3, but in Qt6.5 and 6.6, I'm getting run time error</p>
<pre><code>Error: Unable to determine callable overload.  Candidates are:
</code></pre>
<p dir="auto">Maybe it's a Qt bug, since Qt6.5 ? Also can someone confirme if the dynamic objects are deleted, the connections are safely destroyed without the need of using disconnect() ?</p>
<p dir="auto">Parts of the code</p>
<p dir="auto">CommandsEntites.qml</p>
<pre><code>Node {
	signal commandCprFinish(pos: vector3d)

	function receiveEvent(evt: int, p: vector3d, command){
    .....	
	commandCprFinish(p)// Error: Unable to determine callable overload.  Candidates are:
	........
	}
}
</code></pre>
<p dir="auto">MainView.qml</p>
<pre><code>Item {
	CommandsEntites {
		id: commands
	}
	
	function addCircle(center: vector3d, radius: vector3d) {
		var entityCircle = Qt.createComponent("qrc:/qml/qmlEntities/CircleThick.qml")
		let newCircle = entityCircle.createObject(entitesManager)
		.....
		commands.commandCprFinish.connect(newCircle.commandCprFinish)
		.......
	}
	
	function addLine(p0: vector3d, p1: vector3d){
		var entityLine = Qt.createComponent("qrc:/qml/qmlEntities/LineThick.qml")
		let newLine = entityLine.createObject(entitesManager)
		.......
		commands.commandCprFinish.connect(newLine.commandCprFinish)
		......
	}
}
</code></pre>
<p dir="auto">EntityTemplate.qml</p>
<pre><code>Model {
	....
	signal commandCprFinish(pos: vector3d)
}
</code></pre>
<p dir="auto">LineThick.qml</p>
<pre><code>EntityTemplate {
	onCommandCprFinish: function(pos){
	}
}
</code></pre>
<p dir="auto">CircleThick.qml</p>
<pre><code>EntityTemplate {
	onCommandCprFinish: function(pos){
	}
}
</code></pre>
]]></description><link>https://forum.qt.io/topic/145845/error-unable-to-determine-callable-overload</link><generator>RSS for Node</generator><lastBuildDate>Thu, 05 Nov 2026 12:55:44 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/145845.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 18 Jun 2023 04:49:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Error: Unable to determine callable overload on Mon, 19 Jun 2023 09:57:23 GMT]]></title><description><![CDATA[<p dir="auto">Will mark this has solved. I upgraded Qt 6.6 to the latest beta release and it works again. I will assume it is a bug in Qt6.5.x</p>
]]></description><link>https://forum.qt.io/post/761893</link><guid isPermaLink="true">https://forum.qt.io/post/761893</guid><dc:creator><![CDATA[johngod]]></dc:creator><pubDate>Mon, 19 Jun 2023 09:57:23 GMT</pubDate></item></channel></rss>