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

Use qt_add_plugin #14

Merged
merged 2 commits into from
Jan 23, 2025
Merged

Use qt_add_plugin #14

merged 2 commits into from
Jan 23, 2025

Conversation

bjorn
Copy link
Member

@bjorn bjorn commented Jan 23, 2025

This changes the plugin's extension on macOS from .so to .dylib, which will hopefully cause it to be automatically shipped by macdeployqt.

Closes #8

Among other things that are probably more appropriate for Qt plugins,
this changes the plugin's extension on macOS from .so to .dylib, which
will hopefully cause it to be automatically shipped by macdeployqt.

Based on @Nerixyz's work in jurplel/QtApng#4.

Changed target name from qaseprite to AsepriteImagePlugin to match the
class name, since the CLASS_NAME parameter wasn't working correctly with
qt5_add_plugin.

Closes mapeditor#8
* Removed faulty 'arg_MODULE' check for changing suffix to .dylib
* Updated artifact names
@bjorn bjorn merged commit d2ba81f into mapeditor:master Jan 23, 2025
9 checks passed
@bjorn bjorn deleted the qt-add-plugin branch January 23, 2025 14:33
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.

Look into using qt_add_plugin when compiling against Qt 6
1 participant