Hello
I've got trouble with this line of code:
Qt Code:
expr.replace(*start - 1, *end - *start - 1, result_s);To copy to clipboard, switch view to plain text mode
where *start and *end are pointers to integers(table adresses), and result_s is a string.
The error message: no matching member function for call to 'replace'.
This is a precise function I meant to call: https://doc.qt.io/qt-5/qstring.html#replace .
Using Qt Creator 4.11.0 with C++.
Bookmarks