Basically it seems that any paths returned from Qt functions use / as the separator, so if I'm manipulating paths just use '/' directly instead of QDir::separator().