Reason: read out from the text " \ n- " as a ' \' and ' n- ' two characters, special characters not in the C language definition of "\ n" = char (13 ) Treatment options: QString str = "xxx\nyyyyy"; str.replace("\\n", "\n");
Reason: read out from the text " \ n- " as a ' \' and ' n- ' two characters, special characters not in the C language definition of "\ n" = char (13 ) Treatment options: QString str = "xxx\nyyyyy"; str.replace("\\n", "\n");