For some reason I decided to refactor a piece of code of one of my projects this morning and the results I got sounded weird . After tracking errors I tried this piece of code :
Qt Code:
QStringList val; val << "subdirs"; qDebug("value : \'%s\'", val.at(0).toLatin1().data()); if ( val.at(0) != "subdirs" ) qFatal("Shit! what is QString doing?");To copy to clipboard, switch view to plain text mode
Guess the debug output I obtained!
value : 'subdirs'
Shit! what is QString doing?
I was just wondering if there could be a rationnal reason for such a thing to happen... I tried a "make clean && qmake && make" => no changes!!! I'm about to reboot my computer re-"make clean && qmake && make", but, even it were to work again, I'd still be puzzled by this weird error...
Bookmarks