Hello,

yes, you can use C++11 together with Qt4. Of course Qt4 classes do not support C++11 "features" like using initializer lists in constructors. However, it is possible to use e.g. range based loops on Qt4 containers like QVector or QList. To enable C++11 compiler flag (as anda_skoa already pointed out) via qmake use
Qt Code:
  1. QMAKE_CXXFLAGS += -std=c++11
To copy to clipboard, switch view to plain text mode 
or
Qt Code:
  1. QMAKE_CXXFLAGS += -std=c++0x
To copy to clipboard, switch view to plain text mode 
depending on your compiler.

Best regards
ars