> Hello, I do not have any (real) windows system and I cannot
> reproduce this error with cross compilers.
>
> But is this that problematic line?
>
> string(REGEX REPLACE "\\\\" "/" QTDIR $ENV{QTDIR})
>
> If yes, then can you debug which value is stored in QTDIR? Maybe
> $ENV{QTDIR} is empty and because it is not quoted string()
> funcion failing...
>
> --
Pali,
I managed to solve this error by changing it
from
string(REGEX REPLACE "\\\\" "/" QTDIR $ENV{QTDIR})
to:
string(REGEX REPLACE "\\\\" "/" QTDIR "$ENV{QTDIR}")
Now am facing several other errors, please check my other mail and see if you
can assist.
I can successfully build on linux, but I have had no success on Windows 7, with
Qt 4.8.1.
Thanks.