Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Q_PLUGIN_METADATA with json file not updating when json file changes

Q_PLUGIN_METADATA with json file not updating when json file changes

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 144 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mzanetti-nymea
    wrote on last edited by mzanetti-nymea
    #1

    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?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved