Fix qmlimportscanner lookup - #219
Conversation
|
Thanks. How about keeping the original variant as a fallback? |
|
Do you think that there exists an environment that is
The only thing I can think of is the king of strange and program breaking environments, Nix. Nix's on my computer but I wonder what even is the correct way to deal with this. pkg-config perhaps. Looking up Qt executables is a pretty difficult task. If linuxdeploy-plugin-qt would like to make its system more robust, it could look for inspiration into for example Meson's logic (it isn't very readable if you don't know Meson internals, but it is still fairly straight forward Python). Because I was able to come up with a scenario where |
cf00f92 to
87407c9
Compare
|
Honestly, I don't know for sure. I was thinking that it couldn't hurt. But not a strong opinion. |
See the added comment for explanation.
I could still default to
which("qmlimportscanner")if the first two methods fail, what do you think?