Do not link against qt gui.