[QGIS-trac] Re: [Quantum GIS] #2634: Spatial Query Plugin source
for evaluation
Quantum GIS
qgis at qgis.org
Mon Feb 14 02:49:34 EST 2011
#2634: Spatial Query Plugin source for evaluation
-------------------------------------+--------------------------------------
Reporter: lmotta | Owner: timlinux
Type: patch | Status: reopened
Priority: minor: annoyance | Milestone: Version 1.7.0
Component: C++ Plugins | Version: Trunk
Resolution: | Keywords: Spatial Query
Platform_version: | Platform: All
Must_fix: No | Status_info: 0
-------------------------------------+--------------------------------------
Comment(by timlinux):
Hi Luiz
I tried to build version V but get:
{{{
[ 97%] Building CXX object
src/plugins/spatialquery/CMakeFiles/spatialqueryplugin.dir/qgsspatialqueryplugin.cpp.o
[ 97%] Building CXX object
src/plugins/spatialquery/CMakeFiles/spatialqueryplugin.dir/qgsspatialquerydialog.cpp.o
/home/timlinux/dev/cpp/qgis/src/plugins/spatialquery/qgsspatialquerydialog.cpp:
In member function ‘void
QgsSpatialQueryDialog::on_lwResultFeatureTarget_currentItemChanged(QListWidgetItem*)’:
/home/timlinux/dev/cpp/qgis/src/plugins/spatialquery/qgsspatialquerydialog.cpp:844:
error: ‘class QVariant’ has no member named ‘asInt’
/home/timlinux/dev/cpp/qgis/src/plugins/spatialquery/qgsspatialquerydialog.cpp:
In member function ‘void
QgsSpatialQueryDialog::on_lwInvalidFeatureTarget_currentItemChanged(QListWidgetItem*)’:
/home/timlinux/dev/cpp/qgis/src/plugins/spatialquery/qgsspatialquerydialog.cpp:888:
error: ‘class QVariant’ has no member named ‘asInt’
/home/timlinux/dev/cpp/qgis/src/plugins/spatialquery/qgsspatialquerydialog.cpp:
In member function ‘void
QgsSpatialQueryDialog::on_lwInvalidFeatureReference_currentItemChanged(QListWidgetItem*)’:
/home/timlinux/dev/cpp/qgis/src/plugins/spatialquery/qgsspatialquerydialog.cpp:895:
error: ‘class QVariant’ has no member named ‘asInt’
make[2]: ***
[src/plugins/spatialquery/CMakeFiles/spatialqueryplugin.dir/qgsspatialquerydialog.cpp.o]
Error 1
make[1]: ***
[src/plugins/spatialquery/CMakeFiles/spatialqueryplugin.dir/all] Error 2
make: *** [all] Error 2
}}}
Also please note:
- the 'tabs within tabs' metaphor violates our HIG (see CODING section 4
in top of source tree) and the HIG of operating systems such as Microsoft
windows, so I would suggest to find a different way to nest the results.
- it would be good to contact Robert SzczepanekS on the dev list and ask
him to make some better icons for your plugin.
Thanks!
Tim
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2634#comment:28>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list