I am currently trying to use pyqt and qgis to write an application.
I am using zoomWithCenter method to do the zoom action. Is it possible to
make sure when I zoom out, the qgsmapcanvas is always at the center of the
qwindow?
Also, is it possible to block all zoom in action if the zoom action
Here is my problem:
I am trying to develop a mobile application using Qt and QGIS. I am
trying to implement zoom action on qgsmapcanvas. Right now, I have a
qgsmapcanvas and a qwidget. I have developed the code for zoom action on the
qwidget. And I am considering to overlap the qgsmapcanvas
Is there a python version of qTuio? qTuio is implemented in C++. However, I
am currently trying to use pyqgis due to problems with C++ environment (I
cannot even create a raster layer).
Any help is appreciated.
--
View this message in context:
I am trying to add a raster layer in c++ application with QtCreator and QGIS
2.6.0. I am currently trying to create a 32bit application under 64 bit
windows system. I am not sure if this would be the cause.
My code is as follows:
QgsRasterLayer * layer = new
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
QgisInterface is an abstract class. How are you initializing it? Or do
you just
-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
QgisInterface is an abstract class. How are you initializing
/classQgisInterface.html#a808a34b507a8c4204d607a5857d62748
Regards,
Nejia
-Message d'origine-
De :
qgis-developer-bounces@.osgeo
[mailto:
qgis-developer-bounces@.osgeo
] De la part de eliu1234
Envoyé : vendredi 21 novembre 2014 21:36
À :
qgis-developer@.osgeo
Objet : Re: [Qgis
QgisInterface *m_ptInterface;
See
http://qgis.org/api/2.6/classQgisInterface.html#a808a34b507a8c4204d607a5857d62748
Regards,
Nejia
-Message d'origine-
De :
qgis-developer-bounces@.osgeo
[mailto:
qgis-developer-bounces@.osgeo
] De la part de eliu1234
Envoyé : vendredi 21
/rest/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
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
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
Thanks so much for the answer. I am able to get the 32 bit version working.
Right now, I am facing the problem of not able to run debug mode. Since all
those xd.lib files does not exist with the OSGeo4W installation. Do you
have any idea how to fix this?
And right now, I cannot seem to print
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
Anyone was able to write qgis c++ application under Windows?
The problem that I am encountering is that header files such as
qgsapplication.h cannot be found. I have installed qgis 2.6 and those
files actually do not exist.
What do I need to do in order to find these header files so I can do C++
Thanks for the reply.
So after that, I should just include the directory containing the header
files in .proj?
I tried to do this, however, i get the error in the following stackoverflow
post:
http://stackoverflow.com/questions/26597253/syntax-error-in-qgsapplication-h
--
View this message
Thanks for the reply.
So after that, I should just include the directory containing the header
files in .proj?
I tried to do this, however, i get the error in the following stackoverflow
post:
http://stackoverflow.com/questions/26597253/syntax-error-in-qgsapplication-h
--
View this message
I saw your post on this. And I actually used this .proj file. However, with
all of your include directory, the header files qgisapplication.h does not
exist in anyone of them. This is why I am confused about where it can be.
--
View this message in context:
; 5:47pm — by 3nids 3nids
Hi,
I wrote a post about that:
http://3nids.wordpress.com/2014/02/27/build-and-deploy-c-qgis-app-on-windows/
I hope it helps
Denis
Le mardi 18 novembre 2014, eliu1234 [hidden email] a écrit :
Thanks for the reply.
So after that, I should just include the directory
18 matches
Mail list logo