I\'m using C++11 using Qt Creator.
\"warning: identifier \'nullptr\' is a keyword in C++11 [-Wc++0x-compat]\" \"error: \'nullptr\' was not declared in this scope
Open your .pro file from inside QtCreator and add this
.pro
QMAKE_CXXFLAGS += -std=c++0x