Hello,

Im trying to convert the next 
std::string b = a.toUtf8().constData();

at this poing all is oK, but, when I do this command:
OpenBabel::OBConversion conv2(&b,&pic);

It appears the following error: no matching constructor for initialization.

b variable comes from Qstring type from Qt.

Can someone help me to fix this?

thank you



--
Sent from: http://forums.openbabel.org/openbabel-devel-f960321.html

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenBabel-Devel mailing list
OpenBabel-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-devel

Reply via email to