Q_PLUGIN_METADATA json updates



  • Hello,

    I am using Q_PLUGIN_METADATA, with a json attached to describe the metadata of the plugin.

    If I update the JSON attached (e.g. to add some informations), do I have to rebuild all the plugin or is there a shorter way to deliver the plugin with the new metadata ?

    Thank you by advance!


  • Lifetime Qt Champion

    Hi,

    AFAIK, yes you have to. That's not a file distributed.



  • First, thank you for your answer.

    I know the file is not distributed but I am wondering if we have an easier way to update the Json object that will be resolved at runtime, without knowning how to do (perhaps with something like moc -M<key=value>, but after having compiled the project ).

    Thank you!


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.