Configure: Restore default prefix on Windows
The configure unification accidentally changed it to /usr/local as used on unix. Use C:/Qt again. Task-number: QTBUG-61373 Change-Id: I758c639bdb07c97b55f990821e73a5135038f4a0 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
This commit is contained in:
parent
37161d0380
commit
fe19527a43
@ -694,10 +694,14 @@ defineReplace(printHostPaths) {
|
|||||||
|
|
||||||
defineTest(qtConfOutput_preparePaths) {
|
defineTest(qtConfOutput_preparePaths) {
|
||||||
isEmpty(config.input.prefix) {
|
isEmpty(config.input.prefix) {
|
||||||
$$qtConfEvaluate("features.developer-build"): \
|
$$qtConfEvaluate("features.developer-build") {
|
||||||
config.input.prefix = $$QT_BUILD_TREE # In Development, we use sandboxed builds by default
|
config.input.prefix = $$QT_BUILD_TREE # In Development, we use sandboxed builds by default
|
||||||
else: \
|
} else {
|
||||||
config.input.prefix = /usr/local/Qt-$$[QT_VERSION]
|
win32: \
|
||||||
|
config.input.prefix = C:/Qt/Qt-$$[QT_VERSION]
|
||||||
|
else: \
|
||||||
|
config.input.prefix = /usr/local/Qt-$$[QT_VERSION]
|
||||||
|
}
|
||||||
have_prefix = false
|
have_prefix = false
|
||||||
} else {
|
} else {
|
||||||
config.input.prefix = $$absolute_path($$config.input.prefix, $$OUT_PWD)
|
config.input.prefix = $$absolute_path($$config.input.prefix, $$OUT_PWD)
|
||||||
|
Loading…
Reference in New Issue
Block a user