this generates a segmentation fault becuase of \"QColor colorMap[9]\";. If I remove colorMap the segmentation fault goes away. If I put it back. It comes back. If I do a clean
Firstly it might not be QColor, that may simply be changing the memory layout enough that a buffer overrun somewhere else triggers a segfault - try a different size QColor ..[1] for example.
Can QColor be used as an array like this, does it have the correct default ctor?