I'm not sure if this was introduced with 4.6, but it seems that Qt::escape()
is defined in qtextdocument.h instead of qtnamespace.h.
This brings in a dependency on QtGui even for QtCore-only applications,
which can be really annoying since HTML escaping is, IMHO, something that
should not depend on GUI classes.

Is there a chance that it will be moved to the qtnamespace.h, or at least
copied to there (thus making qtextdocument.h rely on that instead).

-- 
Best regards,
Bastian
_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to