mirror of https://github.com/qt/qtbase.git
remove pointless extension check from qtPrepareTool()
we never call it with an explicit extension, so this only complicates matters. Change-Id: Ib15180130359bb9575bf5dda564f8b817431618f Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
parent
6b38524bba
commit
2c033e00d4
|
@ -196,7 +196,7 @@ defineTest(qtPrepareTool) {
|
|||
$$1 = $$[QT_HOST_BINS]/$$2
|
||||
exists($$eval($$1).pl) {
|
||||
$$1 = perl -w $$eval($$1).pl
|
||||
} else: contains(QMAKE_HOST.os, Windows):!contains($$1, .*\\.(exe|bat)$) {
|
||||
} else: contains(QMAKE_HOST.os, Windows) {
|
||||
exists($$eval($$1).bat) {
|
||||
$$1 = $$eval($$1).bat
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue