I assume the formatting of servicePath is guaranteed to not change, but maybe a Q_ASSERT or two here might not be a bad idea?