Hi,

I just want to share this...

Have been breaking my head on the reading of a simple ascii file...

Prgram kept not reading anything. Using "qDebug() <<..." all I got was file not found. The file WAS in the same directory as the sources...

I looked for it during 2 nights. I searched the forum here, but "file not found" is rendered in "file -found" as search query, so that doesn't give what you're looking for.

Then, during a short moment of enlightment, I copied the file ("a.txt") to the debug directory (where the exe file is found) and tadaaa! The debug window spit out all of the information that I was hoping to see...

greatness...