aboutsummaryrefslogtreecommitdiffstats
path: root/tools/snippets_translate/main.py
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2021-11-22 18:29:56 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2021-11-29 12:11:34 +0100
commited095a59eb91b48bd4e62e0b3d6005ab2d058d17 (patch)
tree8a5e42fe545ee25886bbcf5e193a6b8256083ea0 /tools/snippets_translate/main.py
parentb9ec49942b3ad53343317e631320c58e59736c22 (diff)
setup.py: Simplify logic of qmake and qtpaths lookup
If an explicit qmake or qtpaths option is given, use it to determine the Qt prefix dir. If no option is specified, try to find qtpaths in PATH. Don't try to find the sibling tool as we did before this change, there's no benefit in doing that. Either one can be used to query the required Qt information. Make sure to log both tool paths. Amends 3b4764fefbb349eafb831b5da90f565b34c77a52 Pick-to: 6.2 Change-Id: I03afaa8d8476b3d09affdde28f3ff6f1fdf652b6 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'tools/snippets_translate/main.py')
0 files changed, 0 insertions, 0 deletions