Hi
I want to open the file that is in a place in my computer . I use this code but it doesn't open it . How can I open that file ?

Qt Code:
  1. QString path = "C:\Program Files (x86)\vnb.txt" ;
  2. QFile inFile( path );
  3. if (!inFile.open(QIODevice::ReadOnly | QIODevice::Text))
  4. return -1 ;
To copy to clipboard, switch view to plain text mode