diff --git a/Valentina.pro b/Valentina.pro index 88a4b619e..2064c3d5f 100644 --- a/Valentina.pro +++ b/Valentina.pro @@ -6,6 +6,13 @@ include(common.pri) 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 { *-g++ { GCC_VERSION = $$system("g++ -dumpversion")