Quote Originally Posted by Raccoon29 View Post
Yes, the problem is exactly that std::string.
I never tried with std::string, but usually it is very easy to convert to QString:
Qt Code:
  1. QString var=other_string;
To copy to clipboard, switch view to plain text mode 
so try putting your std::string in QString variables and try putting those in the bindValue, then let us know how it goes.
i get compile error:
Qt Code:
  1. error: conversion from 'std::string' to non-scalar type 'QString' requested
To copy to clipboard, switch view to plain text mode 

im going to look into the QString documentation like jpn suggested and see if i can find anything