QMake from Qt4.2.3 accepts .pro files with the following content: unix { FOO=bar } This is not valid according to upstream qmake and is not documented anywhere in the qmake manual. The patch that added this to gentoo's qmake should be removed as it makes gentoo's qmake incompatible with qmake on other distributions or from upstream and thus makes .pro files that use this syntax un-portable. Reproducible: Always Steps to Reproduce: 1.create a .pro file with the content: unix { FOO=bar } 2. Execute qmake from Qt4 in the directory containing the .pro file Actual Results: QMake accepts the .pro file and generates a Makefile Expected Results: QMake should produce an error message saying that it doesn't recognize "unix"
What patch adds this?
Unfortunately I'm not a Gentoo user, but there was a Gentoo user on KDevelop IRC today for whom the example worked fine, so I thought I'd file a bugreport. However another Gentoo User and KDevelop developer can't reproduce this with an up-to-date Qt4, so maybe it was fixed since.
There's no patch I can see where we make any modifications like this. The only qt4 patches we have are compilation fixes as best as I can tell.
I can't recreate it here, so I don't think this is gentoo related.