QStringLiteral was not declared in this scope
I am trying to compile a small piece of code which involves the usage of the QStringLiteral library but the compilation always terminates with that error.
Here are the details :
QMake version 3.0
Using QT Version 5.2.1
OS : Ubuntu
I have added CONFIG+=c++11 in the pro file as per the documentation.
Thanks in advance.
That normally happens when you try and compile with Qt4, could you post the code?