mirror of https://github.com/qt/qtbase.git
Treat -xplatform or -device-option as being a cross compilation
Task-number: QTBUG-85279
Change-Id: I623108be2cba1dad28c5b692c2b5836a68144854
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit 26eb4e63e0
)
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
parent
000a7ae597
commit
58b2802c82
|
@ -85,6 +85,8 @@ defineTest(qtConfCommandline_coverage) {
|
|||
# callbacks
|
||||
|
||||
defineReplace(qtConfFunc_crossCompile) {
|
||||
!isEmpty(config.input.xplatform): return(true)
|
||||
!isEmpty(config.input.device-option): return(true)
|
||||
!isEmpty(config.input.sysroot): return(true)
|
||||
spec = $$[QMAKE_SPEC]
|
||||
!equals(spec, $$[QMAKE_XSPEC]): return(true)
|
||||
|
|
Loading…
Reference in New Issue