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