Qt UI: cmake up: fix build in Mac OS X