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. Use of json file in plugin for own application
Forum Updated to NodeBB v4.3 + New Features

Use of json file in plugin for own application

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 2 Posters 1.4k Views 1 Watching
  • 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.
  • H Offline
    H Offline
    hjohn
    wrote on last edited by hjohn
    #1

    I know that json file contain metadata of plugin.but in QDocument examples echoplugin & plug and pain,the json file is empty and
    it works fine,as i know that the metadata is required to access the plugin outside of project.

    raven-worxR 1 Reply Last reply
    0
    • H hjohn

      I know that json file contain metadata of plugin.but in QDocument examples echoplugin & plug and pain,the json file is empty and
      it works fine,as i know that the metadata is required to access the plugin outside of project.

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @hjohn
      and the question is?

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      H 1 Reply Last reply
      0
      • raven-worxR raven-worx

        @hjohn
        and the question is?

        H Offline
        H Offline
        hjohn
        wrote on last edited by
        #3

        @raven-worx Is it necessary to create .json file,if so,then in which case

        raven-worxR 1 Reply Last reply
        0
        • H hjohn

          @raven-worx Is it necessary to create .json file,if so,then in which case

          raven-worxR Offline
          raven-worxR Offline
          raven-worx
          Moderators
          wrote on last edited by raven-worx
          #4

          @hjohn
          basically it can be left empty or left out completely.
          In case you want to load a bunch of your custom plugins you can get the data (compiled into the plugin) using QPluginLoader::metaData()

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          H 1 Reply Last reply
          3
          • raven-worxR raven-worx

            @hjohn
            basically it can be left empty or left out completely.
            In case you want to load a bunch of your custom plugins you can get the data (compiled into the plugin) using QPluginLoader::metaData()

            H Offline
            H Offline
            hjohn
            wrote on last edited by hjohn
            #5

            @raven-worx json file contain meta data.but in Which situation u have to mention meta data of plugin in .json file.
            Is it just kind of only information to just knowledge or we have to declare it before loading plugins.

            raven-worxR 1 Reply Last reply
            0
            • H hjohn

              @raven-worx json file contain meta data.but in Which situation u have to mention meta data of plugin in .json file.
              Is it just kind of only information to just knowledge or we have to declare it before loading plugins.

              raven-worxR Offline
              raven-worxR Offline
              raven-worx
              Moderators
              wrote on last edited by
              #6

              @hjohn
              Again, you dont have to. When you dont know what to put in there you dont need it even more ;)
              This can be of an aid if you need additional data to identfy a plugin without loading it.

              --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
              If you have a question please use the forum so others can benefit from the solution in the future

              H 1 Reply Last reply
              0
              • raven-worxR raven-worx

                @hjohn
                Again, you dont have to. When you dont know what to put in there you dont need it even more ;)
                This can be of an aid if you need additional data to identfy a plugin without loading it.

                H Offline
                H Offline
                hjohn
                wrote on last edited by
                #7

                @raven-worx okay thanks..:)

                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