It looks like you're new here. If you want to get involved, click one of these buttons!
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
Hi Holger,
thanks for pointing this out. This is a flaw.
I'm afraid there is no workaround. I have created a ticket for this: https://github.com/KLayout/klayout/issues/707
Matthias