Make it consistent with our plugin systems elsewehere
Details
- Reviewers
bshah leinir apol - Group Reviewers
Frameworks - Commits
- R155:27487ab9276c: Port to KPluginLoader
Diff Detail
- Repository
- R155 KAccounts Integration
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
src/lib/kaccountsdplugin.cpp | ||
---|---|---|
24 | This caused a compiler warning to show up - pushed a quick fix already so don't worry about it, but thought i'd mention it for completion's sake :) https://commits.kde.org/kaccounts-integration/74e770cc9398d9802f9d0fef652cb5b6da29a74d |
This currently causes a compile error:
/home/abuild/rpmbuild/BUILD/kaccounts-integration-20.03.70git.20200225T132248~74e770c/src/daemon/daemon.cpp:62:78: error: call of overloaded 'create(AccountsDaemon*, <brace-enclosed initializer list>)' is ambiguous
I think this broke https://build.kde.org/job/Applications/job/ktp-common-internals/job/kf5-qt5%20SUSEQt5.12/20/console guess ¿KAccountsDPlugin now requires parameters to the constructor and is thus not a valid Q_INTERFACE?
@nicolasfella can you please look at it?
On top of that that's a BIC change, you can't do BIC changes on KF5 repos, so revert?
Even if it is not a Framework, this is still a BIC change without an SONAME bump; @nicolasfella what about bumping KACCOUNTS_SOVERSION in the top-level CMakeLists.txt to 2 to reflect that?