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

2014-11-18 Thread eliu1234
I am using qtcreator and msvc2008 for developing the c++ custom application. I followed the following tutorial to setup the system: http://3nids.wordpress.com/2014/02/27/build-and-deploy-c-qgis-app-on-windows/ Problem 1: under debug mode, I cannot create a QgsMapCanvas object. It always exit with

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

2014-11-18 Thread Nejia
loper] Problems with developing custom c++ qgis application with QtCreator and MSVC2008 on Windows I am using qtcreator and msvc2008 for developing the c++ custom application. I followed the following tutorial to setup the system: http://3nids.wordpress.com/2014/02/27/build-and-deploy-c-qgis-a

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

2014-11-19 Thread eliu1234
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

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

2014-11-20 Thread Nejia
nvoyé : mercredi 19 novembre 2014 17:39 À : qgis-developer@lists.osgeo.org 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 i

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

2014-11-20 Thread eliu1234
t; -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 wit

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

2014-11-21 Thread Nejia
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

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

2014-11-21 Thread eliu1234
eo > ] 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++

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

2014-11-23 Thread Nejia
dredi 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

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

2014-11-24 Thread eliu1234
mbre 2014 21:36 > À : > qgis-developer@.osgeo > 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 Qg

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

2014-11-24 Thread eliu1234
[mailto: > qgis-developer-bounces@.osgeo > ] De la part de eliu1234 > Envoyé : vendredi 21 novembre 2014 21:36 > À : > qgis-developer@.osgeo > Objet : Re: [Qgis-developer] Problems with developing custom c++ qgis > application with QtCreator and MSVC2008 on Windows > >

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

2014-11-24 Thread Nejia
[Qgis-developer] Problems with developing custom c++ qgis application with QtCreator and MSVC2008 on Windows QgisInterface is an abstract class. How are you initializing it? Or do you just declare it and add a raster layer directly? Because from that link, I see the addRasterLayer method is a

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

2014-11-25 Thread eliu1234
osgeo > [mailto: > qgis-developer-bounces@.osgeo > ] De la part de eliu1234 > Envoyé : lundi 24 novembre 2014 17:52 > À : > qgis-developer@.osgeo > Objet : Re: [Qgis-developer] Problems with developing custom c++ qgis > application with QtCreator and MSVC2008 on Windows &

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

2014-11-25 Thread eliu1234
t; qgis-developer-bounces@.osgeo > [mailto: > qgis-developer-bounces@.osgeo > ] De la part de eliu1234 > Envoyé : lundi 24 novembre 2014 17:52 > À : > qgis-developer@.osgeo > Objet : Re: [Qgis-developer] Problems with developing custom c++ qgis > application with QtCreator a