Configure *.pro -std=c++11.