Try building:
If that fails when run then the problem has nothing to do with Qt.Qt Code:
#include <string> #include <iostream> int main(void) { std::string s("Hello", 5); // This is what Qt does in toStdString() std::cout << s << std::endl; return 0; }To copy to clipboard, switch view to plain text mode




Reply With Quote
Bookmarks