On Fri, Aug 17, 2012 at 8:06 AM, Jothybasu Selvaraj <jothybasu at gmail.com> wrote:
> use
>
> reader->SetFileName(filename.toLatin1());
>
> Jothy
Jothy, that should be
fileName.toLatin1()
('fileName' was the QString while 'filename' was the c_str)
right? I've always just used .toStdString().c_str() - what would toLatin1() fix?
David