Merkaartor: recent incompatibility with Qt < 4.5
|Reported by:||gibson||Owned by:||cbro@…|
|Keywords:||Cc:||"Bernd, Zeimetz", <bernd@…>|
It may be intentional or not, but some recent changes brought an incompatibility with Qt versions smaller than 4.5.
The project file does not check for a specific version, so I assume it was by accident.
The function calls of the style:
QColorDialog::getColor(BgColor, this, tr("Select Color"), QColorDialog::ShowAlphaChannel);
were introduced with Qt 4.5, according to
Earlier versions need the simpler alternative function with less arguments.
The attached patch fixes the issue for me with Qt 4.4.3.