[Interest] Q_NO_USING_KEYWORD

Graham Labdon Graham.Labdon at avalonsciences.com
Tue May 22 16:33:37 CEST 2012


Hi
I am using a QStringList and wanted to use the documented

indexOf(const QString &str, int from = 0)

method.

My compiler did not like this because Q_NO_USING_KEYWORD is not defined.
I can overcome this by adding the appropriate define in the .pro file -

DEFINES += Q_NO_USING_KEYWORD

However, I do  not fully understand the use of Q_NO_USING_KEYWORD and so am not sure if this has any other repercussions?

I would therefore be grateful if someone could explain the use of Q_NO_USING_KEYWORD

Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120522/9f50f7ec/attachment.html>


More information about the Interest mailing list