[Qgis-developer] QGIS for Android

2014-11-23 Thread Paolo Cavallini
Hi all.
What is the state of QGIS for Android?
Thanks.
-- 
Paolo Cavallini - www.faunalia.eu
Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] [plugins] refreshing canvas

2014-11-23 Thread Alexia Mondot

Hi all,

I have a plugin using a customized version of Dockable Mirror Map.
I use it to display each processing result in a new view.

I get a strange behaviour with my plugin :
Some times, the canvas stays white. A scroll in it is fine to reload it 
and my image is displayed.
I get this problem since the beginning of the development on QIGS 2.2. 
It is for me a random problem, because I can't say why I get these 
white canvas. But, when I get it I save the projet with the white view, 
and when reloaded, the canvas is still white.


I've played with canvas.refresh(), canvas renderer flags and even with 
canvas.freeze().
I can't understand the behaviour I get, maybe I have a wrong usage of 
the properties above.

I also thought about triggerRepaint()...

Thanks by advance,
Alexia

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Problems with developing custom c++ qgis application with QtCreator and MSVC2008 on Windows

2014-11-23 Thread Nejia
QgisInterface  *m_ptInterface;
See 
http://qgis.org/api/2.6/classQgisInterface.html#a808a34b507a8c4204d607a5857d62748

Regards,
Nejia

-Message d'origine-
De : qgis-developer-boun...@lists.osgeo.org 
[mailto:qgis-developer-boun...@lists.osgeo.org] De la part de eliu1234
Envoyé : vendredi 21 novembre 2014 21:36
À : qgis-developer@lists.osgeo.org
Objet : Re: [Qgis-developer] Problems with developing custom c++ qgis 
application with QtCreator and MSVC2008 on Windows

What is the m_ptInterface in your code?


Nejia wrote
 I use the same environment of Qgis to write c++ plugins:
 http://htmlpreview.github.io/?https://raw.github.com/qgis/QGIS/master/
 doc/INSTALL.html#toc14
 
 to add raster layer:
 m_ptInterface-addRasterLayer(http://server.arcgisonline.com/ArcGIS/r
 est/services/World_Imagery/MapServer?f=jsonpretty=true,raster);
 
 Regards,
 Nejia
 
 -Message d'origine-
 De : 

 qgis-developer-bounces@.osgeo

  [mailto:

 qgis-developer-bounces@.osgeo

 ] De la part de eliu1234
 Envoyé : jeudi 20 novembre 2014 21:40
 À : 

 qgis-developer@.osgeo

 Objet : Re: [Qgis-developer] Problems with developing custom c++ qgis 
 application with QtCreator and MSVC2008 on Windows
 
 Do you have a system setup that can write qgis c++ application? If you 
 do, can you create a valid raster layer from that?
 
 
 Nejia wrote
 1- see my response here
 http://stackoverflow.com/questions/26920574/cannot-find-qgsapplicatio
 n
 -h-and
 -other-header-files/27035138#27035138
 
 -Message d'origine-
 De : 
 
 qgis-developer-bounces@.osgeo
 
 [mailto:
 
 qgis-developer-bounces@.osgeo
 
 ] De la part de eliu1234
 Envoyé : mercredi 19 novembre 2014 17:39 À :
 
 qgis-developer@.osgeo
 
 Objet : Re: [Qgis-developer] Problems with developing custom c++ qgis 
 application with QtCreator and MSVC2008 on Windows
 
 1. So in the .proj file, what do i need to change?
 
 2. My Python works in this case, it is the C++ part that is not working. 
 
 
 Nejia wrote
 Hi,
 
 1- QGIS and Qt libraries shipped with Osgeo4W are compiled using 
 release mode so if you want to debug your application you can use 
 RelWithDebInfo mode.
 2- see:
 http://gis.stackexchange.com/questions/120823/how-to-load-a-wms-laye
 r
 -
 using-
 pyqgis
 http://ieqgis.wordpress.com/2014/08/09/adding-esris-online-world-ima
 g
 e
 ry-dat
 aset-to-qgis/
 
 Cheers
 Nejia
 
 
 
 
 
 --
 View this message in context:
 http://osgeo-org.1560.x6.nabble.com/Problems-with-developing-custom-c
 -
 qgis-a
 pplication-with-QtCreator-and-MSVC2008-on-Windows-tp5173711p5173838.h
 t ml Sent from the Quantum GIS - Developer mailing list archive at 
 Nabble.com.
 ___
 Qgis-developer mailing list
 
 Qgis-developer@.osgeo
 
 http://lists.osgeo.org/mailman/listinfo/qgis-developer
 
 ___
 Qgis-developer mailing list
 
 Qgis-developer@.osgeo
 
 http://lists.osgeo.org/mailman/listinfo/qgis-developer
 
 
 
 
 
 --
 View this message in context:
 http://osgeo-org.1560.x6.nabble.com/Problems-with-developing-custom-c-
 qgis-application-with-QtCreator-and-MSVC2008-on-Windows-tp5173711p5174
 130.html Sent from the Quantum GIS - Developer mailing list archive at 
 Nabble.com.
 ___
 Qgis-developer mailing list

 Qgis-developer@.osgeo

 http://lists.osgeo.org/mailman/listinfo/qgis-developer
 
 ___
 Qgis-developer mailing list

 Qgis-developer@.osgeo

 http://lists.osgeo.org/mailman/listinfo/qgis-developer





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Problems-with-developing-custom-c-qgis-application-with-QtCreator-and-MSVC2008-on-Windows-tp5173711p5174285.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer