[connman-qt] fix example build for changed API