Changing the image used by a PictureMarkerSymbol using the setImage method does not change the size of the symbol in the ArcGIS Runtime SDK for Qt.
Last Published: December 14, 2015ArcGIS Runtime SDK for Qt
Bug ID Number
December 9, 2015
June 11, 2020
ArcGIS Runtime SDK for Qt
Operating System Version
7.0 64 Bit
After review by the development team, it has been determined that this issue is related to a known limitation with the software that lies outside of Esri's control. The issue's Additional Information section may contain further explanation.
With 10.2.x, just because the image setter is called a second time, does not mean the width and height setters will be called again. In any case, this situation will be avoided at the Quartz release, as there will be no default constructor. You will have to pass in a QImage or QUrl in the constructor, so to switch out the image, you will need to create a new PictureMarkerSymbol.
Use the setHeight and setWidth methods to change the dimensions of the symbol.