Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugin extension #349

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

plugin extension #349

wants to merge 1 commit into from

Conversation

zmoth
Copy link
Contributor

@zmoth zmoth commented Dec 16, 2022

#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 zmoth changed the title Plugin extension (#335) plugin extension Dec 18, 2022
@paceholder
Copy link
Owner

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
Copy link
Contributor Author

zmoth commented Dec 19, 2022

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 zmoth marked this pull request as draft December 22, 2022 14:57
@zmoth zmoth force-pushed the plugin_extension branch 2 times, most recently from 8792708 to 7701e37 Compare January 10, 2023 00:44
@zmoth zmoth marked this pull request as ready for review February 13, 2023 03:27
@zmoth
Copy link
Contributor Author

zmoth commented Feb 13, 2023

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 zmoth force-pushed the plugin_extension branch 2 times, most recently from 38b4636 to 65a9f44 Compare February 17, 2023 01:58
@zmoth zmoth force-pushed the plugin_extension branch 2 times, most recently from 1a264fd to 1631056 Compare June 12, 2023 00:53
- Added the plug-in manager
- Added plug-in example
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants