Comment # 3
on bug 12117
from Guy Harris
It appears that Qt is "helpfully" canonicalizing strings entered by the user to
use / rather than \ as a path separator, even on Windows:
http://doc.qt.io/qt-4.8/qdir.html
"Qt uses "/" as a universal directory separator in the same way that "/" is
used as a path separator in URLs. If you always use "/" as a directory
separator, Qt will translate your paths to conform to the underlying operating
system."
Fortunately, Qt also provides a big hammer to use on those "helpfully
canonicalized" path names, QDir::toNativeSeparators()
http://doc.qt.io/qt-4.8/qdir.html#toNativeSeparators
to pound them back into native form.
You are receiving this mail because:
- You are watching all bug changes.