[Qt-interest] Compile warning

Srdjan Todorovic todorovic.s at googlemail.com
Thu Oct 29 20:58:31 CET 2009


Hi

2009/10/29 Alain Bertrand <alainbe_arobase_free_dot_fr at forget.me>:
> otmainwindow.cpp:1408:18: warning: unknown escape sequence: '\040'
>
> The code is QString forbid="\" / \ * , ? < > | : . = ";
> To me, the only escape sequence of my string is \". What I am doing wrong ?

\040 is 40 octal which is space.

You have a '\ ' in your QString. Maybe you meant '\\' ?

Srdjan



More information about the Qt-interest-old mailing list