unix { TOPDIR = $$system( pwd )/ } win32 { TOPDIR = $$system( cd )/ } #use next qmake.cache if it exists exists(../.qmake.cache) { include( ../.qmake.cache ) } include( qmake/all.include )