Stop building if PWD or OUT_PWD contains space.
--HG-- branch : develop
This commit is contained in:
parent
4c8210afc2
commit
59f397631b
|
@ -6,6 +6,13 @@ include(common.pri)
|
||||||
error("Use at least Qt 5.0.0.")
|
error("Use at least Qt 5.0.0.")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#These checks need because we can quote all paths that contain space.
|
||||||
|
LIST = $$split(PWD,' ')
|
||||||
|
count(LIST, 1, >): error("The build will fail. Path '$${PWD}' contains space!!!")
|
||||||
|
|
||||||
|
LIST = $$split(OUT_PWD,' ')
|
||||||
|
count(LIST, 1, >): error("The build will fail. Path '$${OUT_PWD}' contains space!!!")
|
||||||
|
|
||||||
unix {
|
unix {
|
||||||
*-g++ {
|
*-g++ {
|
||||||
GCC_VERSION = $$system("g++ -dumpversion")
|
GCC_VERSION = $$system("g++ -dumpversion")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user