Android: Also install plugins, otherwise they are just not available
AbandonedPublic

Authored by apol on Apr 13 2018, 1:21 PM.

Details

Reviewers
None
Group Reviewers
Build System
Frameworks

Diff Detail

Repository
R240 Extra CMake Modules
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
apol created this revision.Apr 13 2018, 1:21 PM
Restricted Application added projects: Frameworks, Build System. · View Herald TranscriptApr 13 2018, 1:21 PM
apol requested review of this revision.Apr 13 2018, 1:21 PM

For Qt < 5.12 this is ok as a temporary solution I think, but with the new androiddeployqt I'd rather add -android-dependencies.xml files for the libraries needing plugins (simple example: https://github.com/KDAB/GammaRay/blob/master/probe/gammaray_probe-android-dependencies.xml, more complex ones are part of Qt itself). Then you'll only get the plugins included that a library you (indirectly) use actually needs. That's much cleaner IMHO.

apol added a comment.Apr 13 2018, 8:28 PM

For Qt < 5.12 this is ok as a temporary solution I think, but with the new androiddeployqt I'd rather add -android-dependencies.xml files for the libraries needing plugins (simple example: https://github.com/KDAB/GammaRay/blob/master/probe/gammaray_probe-android-dependencies.xml, more complex ones are part of Qt itself). Then you'll only get the plugins included that a library you (indirectly) use actually needs. That's much cleaner IMHO.

Yes, it's something I'd like to look into. I haven't found documentation for it yet.

In D12172#245790, @apol wrote:

Yes, it's something I'd like to look into. I haven't found documentation for it yet.

There is none I think, apart from the qmake and androiddeployqt sources ;-(

apol abandoned this revision.Dec 18 2019, 2:07 AM