I wrote some project using QtCreator 2.5.1 and Qt 4.8.0. I added to the * .pro file:
QMAKE_CXXFLAGS += -std=c++0x
And everything compiles and works correctly, but the IDE still highlights C ++ 11-style code fragments as incorrect. For instance. this line:
QVector<int> colwi{100,70,30,40,25,25,25,25,25};
Can this be fixed?
meldo source
share