automated qml dep injection

Harald Sitter sitter at kde.org
Fri Jun 12 01:11:49 UTC 2015


since I keep getting asked the same question over and over again

here is why automated qml dep injections a la
Depends: ${qml:Depends}
is not very practical and in fact not something I pursue

1. qml module lookup rules are somewhat flexible and can be modified
at runtime such that lookup at buildtime often goes wrong
2. qml modules may be injected at runtime into the binary such that
lookup becomes entirely impossible as they are essentially modules
internal to the binary
3. qml modules are runtime deps and as such have 0 use in the build
environment and prolong the build entirely needlessly
4. the actual algorithm for finding a module is pretty complicated (in
particular also with multiarch in the picture)

probably I forgot something, but those are the major things

all of this put together makes it IMO pointless to go down the road of
autodetection. instead a re-active QA approach a la autopkgtest is
much more reasonable and is what we get through KCI these days.

HS



More information about the kubuntu-devel mailing list