I suggest to replace toStdString() by toAscii().data(). Easily done, very few places, MSVC - QT - STL independence, currently buggy. Please see: http://www.vtk.org/Bug/view.php?id=11748 Regards, Dominik