<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Hi, </div>
<div><br>
</div>
<div>I have a simple C++ slot in a QObject that returns a void. In python, I grab a reference to QObject and then call the void method. This results in the following error: </div>
<div>TypeError: unable to convert a QVariant of type 0 to a QMetaType of type 43</div>
<div><br>
</div>
<div>If I change that C++ slot to return a bool I do not get an error. Any thoughts on how to fix this? </div>
<div><br>
</div>
<div>I am currently running PyQt 4.11.4. </div>
<div><br>
</div>
<div>Thanks,</div>
<div>
<div><span style="font-family: Calibri; ">
<hr align="center" size=""3"" width=""95%"">
</span></div>
<div><span style="font-family: Calibri; ">Eric Ferguson</span></div>
<div><span style="font-family: Calibri; ">NASA/Jet Propulsion Laboratory</span></div>
<div><span style="font-family: Calibri; ">Mission Operations Engineer (397B)</span></div>
<div><span style="font-family: Calibri; ">818.634.1928</span></div>
<div><span style="font-family: Calibri; "><br>
</span></div>
<div><span style="font-family: Calibri; ">"</span>It’s human nature to stretch, to go, to see, to understand. Exploration is not a choice, really; it’s an imperative." - Michael Collins</div>
</div>
</body>
</html>