Add C++11 method one in the configuration file :
QMAKE_CXXFLAGS += -std=c++11
Method 2:
CONFIG+=C++11