distributions.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* Fwd: Detect QML Dependencies
@ 2023-03-31 15:33 Anna (cybertailor) Vyalkova
  2023-03-31 16:00 ` Neal Gompa
  0 siblings, 1 reply; 2+ messages in thread
From: Anna (cybertailor) Vyalkova @ 2023-03-31 15:33 UTC (permalink / raw)
  To: distributions

[-- Attachment #0: Type: message/rfc822, Size: 66123 bytes --]

[-- Attachment #1.1: Type: text/plain, Size: 678 bytes --]


in Debian we package more and more QML applications and face the problem, that 
we don't have tooling to easily get a list of QML dependencies out of the qml 
files. I normally end up doing a grep in the qml files and than I need to 
translate these dependencies to the corresponding Debian packages. What is 
quite error prune.
Does anyone have already a working solution to detect the QML dependencies - 
maybe there is alaready a qmllinter/qmlchecker tool that returns the needed 
QML dependencies and create package dependencies?

That is currently my way:

grep -r --include="*qml" '^import ' | sed 's/^.*\.qml:import \([^ ]*.*\)/\1/g' 
| sort | uniq



[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-31 16:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-31 15:33 Fwd: Detect QML Dependencies Anna (cybertailor) Vyalkova
2023-03-31 16:00 ` Neal Gompa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).