Shouldn’t it be `$(` so the environment variable is evaluated on (makefile-induced) compilation rather than qmake?
I changed it specifically because `$(` seems to make more sense than `$$(` here.

Is your point that it should be `$$(` here? Or that if it’s changed here, it should be changed in other `pro` files as well?