Move call of qmake function relative_path() out of .qmake.cache.

Apparently, function calls are not allowed there.

Change-Id: Iba5c093ec473eb89df4d046a218df6ec78d14c7c
Reviewed-by: Christian Stenger <christian.stenger@digia.com>