nodeeditor icon indicating copy to clipboard operation
nodeeditor copied to clipboard

plugin extension

Open zmoth opened this issue 3 years ago • 3 comments

#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.

zmoth avatar Dec 16 '22 08:12 zmoth

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

paceholder avatar Dec 18 '22 22:12 paceholder

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 avatar Dec 19 '22 01:12 zmoth

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.

zmoth avatar Feb 13 '23 03:02 zmoth