fixed 8bit string conversion methods for qt 5