[QGIS-Developer] where is qgsmaptoolselect.h

Nyall Dawson nyall.dawson at gmail.com
Thu Mar 8 19:05:01 PST 2018


On 9 March 2018 at 12:47, <weskerjiang at sina.cn> wrote:
>
> Hello,I'm developing a standalone application with QGIS 3.0,I want to create a select tool,so I use
>  QgsMapTool* mSelect = new QgsMapToolSelectFeatures(mapCanvas),
>
>
> but i can't include <qgsmaptoolselect.h> file because there is no this file ,i build from source,
> so my question is how to get the .h file or create a select tool in QGIS 3.0?

It's in the app library, so isn't exposed as public API (only core,
gui, analysis and server are public API).

You'd need to copy the class across to your app.

Do you have a public repo for your code?

Nyall


More information about the QGIS-Developer mailing list