[Qt-interest] Compile warning

Paul Colby qt at colby.id.au
Thu Oct 29 20:56:45 CET 2009


> The code is QString forbid="\" / \ * , ? < > | : . = ";

Looks like you forgot to escape the second \ character.

eg: QString forbid="\" / \\ * , ? < > | : . = ";

(note the double slash \\ ).

Hope that helps ;)

pc.
-- 
http://colby.id.au



More information about the Qt-interest-old mailing list