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

2013-10-06 Thread chrome2006-...@yahoo.com
Hi This is my first attemp with QGIS. I'm using 2.0 version. My first goal is a proof of concept with a wms map and a vector map. I started with the wms service. You'll find the code below, there are two things that don't go well. First, QgsApplication::applicationVersion() is , Did I do

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

2013-10-06 Thread Daniel
I don't know if you should receive 2.0 as output of applicationVersion() method. It's because setApplicationVersion() and setApplicationName() are called from src/core/main.cpp (QGIS code). The class QgsApplication don't call setter methods, so I don't know what are the supposed behavior when I