[Qgis-developer] Tr : New QGis project, application : version is empty and wms layer invalid

2013-10-06 Thread chrome2006-...@yahoo.com
Hi Daniel Thanks for your help. I tried nasa server within my app without success, rlayer is still invalid. I also tried within the QGis app, the server returned this server no longer provide full WMS services!... I also notice that my app starts immediatly, I'm not sure wether it should

Re: [Qgis-developer] Tr : New QGis project, application : version is empty and wms layer invalid

2013-10-06 Thread Daniel
It works for me! QString uri = crs=EPSG:4326featureCount=10format=image/giflayers=osm_auto:allstyles=url= http://129.206.228.72/cached/osm;; QgsRasterLayer *rlayer = new QgsRasterLayer(uri, layer_name, wms, false); qDebug() layer is valid: rlayer-isValid(); connect( rlayer,