See to output:
Qt Code:
  1. if (fileOpen.open( QIODevice::ReadWrite ))
  2. {
  3. }
  4. else
  5. qDebug( fileOpen.errorString() );
To copy to clipboard, switch view to plain text mode