6

I'm using Qt Creator on Ubuntu, and I'd like to use the new C++11 features, however they are not enabled by default.

How can I configure Qt Creator to support the new C++11 features?

sashoalm
  • 63,456
  • 96
  • 348
  • 677

1 Answers1

8

You can achieve this by adding:

QMAKE_CXXFLAGS += -std=c++11

to your .pro file.

Floris Velleman
  • 4,658
  • 3
  • 27
  • 45