On Wednesday 27 May 2015 09:03:24 Carel Combrink wrote:
> Am I doing something wrong?

Yes, you're expecting qmake to observe environment variables. It does not. 
Make honours and processes them, but that's run after qmake has finished 
running and has written the Makefile. Two separate and independent steps.

> Is this intended behaviour?

Yes.

> How can I proceed to get the correct result?

You cannot with qmake. You need to either make the variable a pure qmake one 
by passing it on the qmake command-line instead of the environment, or you 
skip doing the qmake checks and rely on Make rules only.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to