hi,
anyone know what can be the reason why sometimes this don't load the image and appear warning?
Qt Code:
  1. QImage img("");
  2. cout << "text file name " << texFileName << endl;
  3. //this above print the name "file.jpg"; it print same thing when load works and when dosn't work!!
  4. if ( !img.load(texFileName))
  5. qWarning( "Could not read image file ONE ");
To copy to clipboard, switch view to plain text mode