-
Notifications
You must be signed in to change notification settings - Fork 684
fix: compatibility with extra-cmake-modules-6.19.0 #12374
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
base: master
Are you sure you want to change the base?
Conversation
|
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
owncloud is not using a custom QQmlExtensionPlugin subclass, so we need
to pass GENERATE_PLUGIN_SOURCE so that a default implementation is generated.
This fixes compatibility with ECM 6.19 since that (correctly) considers plugins
that don't use GENERATE_PLUGIN_SOURCE to be not optional [0]. That causes the
QML engine to try and load the (invalid) plugin:
```
QList(qrc:/qt/qml/org/ownCloud/gui/qml/AccountBar.qml:18:1: Failed to extract plugin
meta data from '/usr/lib64/qt6/qml/org/ownCloud/gui/libowncloudGuiplugin.so':
'/usr/lib64/qt6/qml/org/ownCloud/gui/libowncloudGuiplugin.so' is not a Qt plugin (metadata not found)
import org.ownCloud.gui 1.0
^)
```
Pass GENERATE_PLUGIN_SOURCE to fix the startup problem.
[0] commit 4e9b73da40792ece7885924007441880ecc06d8d
Bug: https://bugs.gentoo.org/964420
|
I encountered the same error on Arch Linux with GNOME 49 using the latest owncloud-client version 6.0.2.
|
|
followup #12403 |
|
@dependabot rebase |
owncloud is not using a custom QQmlExtensionPlugin subclass, so we need to pass GENERATE_PLUGIN_SOURCE so that a default implementation is generated.
This fixes compatibility with ECM 6.19 since that (correctly) considers plugins that don't use GENERATE_PLUGIN_SOURCE to be not optional [0]. That causes the QML engine to try and load the (invalid) plugin:
Pass GENERATE_PLUGIN_SOURCE to fix the startup problem.
[0] commit 4e9b73da40792ece7885924007441880ecc06d8d
Bug: https://bugs.gentoo.org/964420