Ambiguous overload for QJsonValue.new(string)

Hi there!
Currently, I'm trying to export some Layout details via JSON, using the corresponding Qt classes. I stumpled upon an issue for the wrapped QJsonValue, trying to create it from a string value:
"Ambiguous overload variants - multiple method declarations match arguments in QJsonValue.new"

The Klayout documentation includes this ambiguity, too:

Signature: [static] new QJsonValue new (string s)
Description: Constructor QJsonValue::QJsonValue(const QString &s)

Signature: [static] new QJsonValue new (string s)
Description: Constructor QJsonValue::QJsonValue(const char *s)

Is there any possibility for me right now to specify the overload variant I want to use? Or does the Wrapper have to be told to only include one of them?

Regards, Holger

Comments

Sign In or Register to comment.