Q_PLUGIN_METADATA with json file not updating when json file changes
Unsolved
General and Desktop
-
Using a json file for Q_PLUGIN_METADATA and generally it works fine. However, when I change the json file I have to explicitly rebuild (clean & build) the plugin in order for moc to pick it up. I'm trying to figure out some qmake magic that would make the build system recognize that the file changed and invoke necessary tools (moc is what's needed I guess) again.
Anyone got some hints?