I am trying to compare 2 QStrings with the == operator and I get some errors. My code looks like:
Qt Code:
// line is a QString created earlier in the code. { // Some code }To copy to clipboard, switch view to plain text mode
My code errors out in the if-statement and here is the error I get.
Any idea how to fix this error. This is in Qt 3.3.3. Thanks!error: no match for 'operator ==' in QValueList<T>::at( size_t) [with T = QString](0ul) == QString(((const char*)"LAST_OPEN_DIR"))'
Bookmarks