This really isn’t a C++ 11 or Qt thing we need to discuss next. It is something which hoses every C/C++ programmer at some point, especially if you are either tired or reading fast. Where const is matters char txt[] = “Red baby buggy bumpers”; char *ptr = txt; // non-const pointer, non-const data const char *ptr = txt; // non-const pointer, const data char * const ptr = txt; // const pointer, non-const data … C++ 11 and Qt — Part 2 constRead more