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

Does the minor number of Qt version matter at dynamic linking plugin? #5

Open
IngInx747 opened this issue Mar 8, 2024 · 2 comments

Comments

@IngInx747
Copy link

IngInx747 commented Mar 8, 2024

Hello, I am met with an issue of meshlab loading a filter plugin I created (IO plugin is not tested yet).

I have both binaries downloaded
image

and built from the source and Qt 5.15.9.
image

The plugin works well in the meshlab I built from the source (of course it does). But when it comes to the downloaded one, the plugin does nothing, even it appears to be loaded successfully.

The differences of two releases are attached. I wonder if it is a must that Qt minor digits match for plugin to work properly.

@IngInx747 IngInx747 changed the title Does the minor number of Qt version matter at dynamic linking? Does the minor number of Qt version matter at dynamic linking plugin? Mar 8, 2024
@alemuntoni
Copy link
Member

As QPluginLoader documentation says:

QPluginLoader checks that a plugin is linked against the same version of Qt as the application.

Therefore, it seems that the Qt version must be the same.

@IngInx747
Copy link
Author

I created an IO plugin built with Qt 5.15.9 and it works well in the released version(Qt 5.15.2). Why IO works but filter does not?

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

No branches or pull requests

2 participants