[Qgis-developer] annotation tools

Marco Hugentobler marco at hugis.net
Fri Mar 26 05:39:41 EDT 2010


Hi John

Thanks for testing. You are right, the deleteAnnotation has been left in the 
header, but not in the cpp.

The updated source package is on:

www.hugis.net/100326_annotation_tools.tgz

Regards,
Marco

Am Freitag, 26. März 2010 03.05:42 schrieb John C. Tull:
> Hi Marco,
> 
> I was unable to get the plugin to compile:
> 
> ...
> [ 82%] Building CXX object
>  src/plugins/annotation_tools/CMakeFiles/annotationplugin.dir/qrc_annotatio
> n_tools.cxx.o Linking CXX shared module libannotationplugin.so
> Undefined symbols:
>   "QgsAnnotationPlugin::deleteAnnotation()", referenced from:
>       QgsAnnotationPlugin::qt_metacall(QMetaObject::Call, int, void**)in
>  moc_qgsannotationplugin.cxx.o ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[2]: *** [src/plugins/annotation_tools/libannotationplugin.so] Error 1
> make[1]: ***
>  [src/plugins/annotation_tools/CMakeFiles/annotationplugin.dir/all] Error 2
>  make: *** [all] Error 2
> 
> Regards,
> John
> 
> On Mar 25, 2010, at 3:55 AM, Marco Hugentobler wrote:
> > Hi devs
> >
> > I'd like to publish the first version of the annotation tools (that were
> > also presented at the hackfest in Pisa) for testing:
> >
> > www.hugis.net/100324_annotation_tools.tgz
> >
> > Just copy it to you src/plugins/ directory and unpack. Then, insert
> > 'annotation_tools' as new subdirectory into src/plugins/CMakeLists.txt.
> > To make the items also appear in the print composer, you need to enable
> > the lines 273 and 314 in src/core/qgscomposermap.cpp
> >
> > The plugin provides the functionality to place balloons for textboxes and
> > designer forms on the map, providing various possibilities for
> > symbolisations.
> >
> > At the moment, it is a plugin, but I'd like to bring the annotation
> > classes into the gui library. What do you think?
> >
> > Regards,
> > Marco
> 

-- 
Dr. Marco Hugentobler
HUGIS GmbH
Webereistr. 66
CH-8134 Adliswil
marco at hugis.net
www.hugis.net
Technical Advisor QGIS Project Steering Committee


More information about the Qgis-developer mailing list