You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am using pythonQt to embed python code in my C++ code, I create a python function as the example did, but my return value is a list, and I couldn't fetch the list value after calling the function context.evalScript("def multiply(a,b):\n return [a,b];\n"); QVariantList args; args << 42 << 47; QVariant result = context.call("multiply", args);
Could you give some idea on how to get the result when the return value is a list?