paceholder / nodeeditor

Qt Node Editor. Dataflow programming framework
BSD 3-Clause "New" or "Revised" License
2.92k stars 795 forks source link

plugin extension #349

Open zmoth opened 1 year ago

zmoth commented 1 year ago

335

plugins_load and plugin_text are provided to demonstrate plugin functionality.

Compile the models as dynamic link libraries and the PluginsManager can load and register them dynamically.

When you run the plugins_load executable it will automatically generate the nodes folder in its directory. Simply place the plugins (dynamic link libraries) into it.

paceholder commented 1 year ago

Thanks, this is an interesting extension. I guess code still needs some polishing. The example plugin libs do not land to the directory which is gonna be used for loading the plugins. After fixing that I still did not manage to load the plugin, my system was complaining like 'this library is not a valid Qt plugin'. Must be something with the export/import statements. I'll look into it deeper

zmoth commented 1 year ago

Thank you for your affirmation. I only have windows environment to program now.

I am just a rookie now and have limited experience. You are welcome to participate in this part of the development and I am sure I can learn more skills.

zmoth commented 1 year ago

Thanks, this is an interesting extension. I guess code still needs some polishing. The example plugin libs do not land to the directory which is gonna be used for loading the plugins. After fixing that I still did not manage to load the plugin, my system was complaining like 'this library is not a valid Qt plugin'. Must be something with the export/import statements. I'll look into it deeper

I have tested it on Windows 10 and ubuntu 20.04.