I'm trying to write an application with Qt 5.4, and I have to encode a string in code 128 barcode.
So, the first character in the original string is byte 205 (Í):
dummy is an int, risposta is the QString to encode

dummy = (char) risposta.at(ind).toLatin1();

dummy, in debug mode, becomes -51, and so, it makes me break following
if (dummy < 127)
dummy -= 32;
else
dummy -= 100;
Anyone can help me?
Gisac