While this works, I'd suggest having + ".png" separately. Funny things will happen if QDateTime ever starts using new expression characters out of that set.