[Interest] unhelpful error from QFile loading non-existent resource
Matthew Woehlke
mw_triad at users.sourceforge.net
Thu Mar 26 16:46:20 CET 2015
If I do something like:
QFile f{":/does/not/exist"};
f.open(QFile::ReadOnly);
Obviously, it fails. However, QFile::errorString returns "Unknown
error". Is there a reason for this unhelpful message as opposed to
something like "Resource not found"?
(On a loosely related note, what happened to my old bug reporting
account? I don't seem to be able to log into the new qt.io site. Have
all bugs that I'd previously filed just gone missing?)
--
Matthew
More information about the Interest
mailing list