I've just installed QtSDK and i have some problems whem I'm trying to use **regex** functions.

I get this error when compile my program:

```
#error This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. This supports currently experimental, and must be enabled with the -std=c++0x or -std=gnu++0x compiler options.

```

I have tried to add this on my project file:

```
QMAKE_CXXFLAGS += -std=c++0x

```

and 

```
QMAKE_CXXFLAGS += -std=gnu++0x

```

But I get more other errors. On Code::Blocks regex works fine and is using MinGW too.
So how to use C++11 facilities on QtSDK?