Qt-interest Archive, August 2006
qmake escape(\) behavior change 4.1 -> 4.2(tp1)
Message 1 in thread
(reposted originally from qt4-preview-feedback).
Under qt-4.1, if foo.pro contained:
DEFINES += PREFIX=\"$${PREFIX}\"
qmake generates a Makefile containing:
DEFINES Â Â Â = -DPREFIX=\"/usr\"
Under qt-4.2(tp1), the Makefile generated ends up with
DEFINES Â Â Â = -DPREFIX="/usr"
Is this change in generated output a bug or expected?
If expected, what is the (more) correct content for foo.pro that will
generate the working DEFINES (with escaped quotes) when using either qt-4.1
or qt-4.2?
-- Rex
--
[ signature omitted ]
Message 2 in thread
I've confirmed that qt-4.2 20060821 snapshot has the same changed qmake
behavior as 4.2-tp1.
-- Rex
Rex Dieter wrote:
> (reposted originally from qt4-preview-feedback).
>
> Under qt-4.1, if foo.pro contained:
> DEFINES += PREFIX=\"$${PREFIX}\"
> qmake generates a Makefile containing:
> DEFINES Â Â Â = -DPREFIX=\"/usr\"
>
> Under qt-4.2(tp1), the Makefile generated ends up with
> DEFINES Â Â Â = -DPREFIX="/usr"
>
> Is this change in generated output a bug or expected?
> If expected, what is the (more) correct content for foo.pro that will
> generate the working DEFINES (with escaped quotes) when using either
> qt-4.1 or qt-4.2?
>
> -- Rex
--
[ signature omitted ]