<div dir="ltr"><span class="gmail-gI"><span>In standalone applications, I am using the QgsRasterLayerProperties class to manage rasters displayed in the map canvas.<br><br>However, since QGis 3.8, this class is no longer independent from the QgisApp instance because the methode QgisApp::instance()->askUserForDatumTransform() is called from the QgsRasterLayerProperties instance.<br><br>As in my standalone applications, I don't have QgsApp instance (no need), now this applications crash when the raster layer properties widget opens ... <br><br>So, after a look at the Qgis code, I am thinking about to make a PR to make again the QgsRasterLayerProperties independant from the QgisApp instance. I think it could be possible with a static method in the QgisApp class. I have to work on it.<br><br></span></span><div><span class="gmail-gI"><span>But before trying this solution, I would have your opinion if it makes sens to go in this way.<br></span></span></div><div><br></div><div>Thanks.</div><div><br></div><div>Vincent Cloarec</div><div><a href="http://www.reos.site">www.reos.site</a></div><div><br></div><div><span class="gmail-gI"><span></span></span></div><div><span class="gmail-gI"><span></span></span></div></div>