[QGIS-trac] Re: [Quantum GIS] #2634: Spatial Query Plugin source
for evaluation
Quantum GIS
qgis at qgis.org
Mon Feb 28 16:54:14 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
I get a bunch of errors compiling your latest:
{{{
/home/timlinux/dev/cpp/qgis/src/plugins/spatialquery/qgsspatialquerydialog.cpp:
In member function ‘void
QgsSpatialQueryDialog::showResultQuery(QDateTime*, QDateTime*)’:
/home/timlinux/dev/cpp/qgis/src/plugins/spatialquery/qgsspatialquerydialog.cpp:216:
error: ‘class QComboBox’ has no member named ‘currentItem’
/home/timlinux/dev/cpp/qgis/src/plugins/spatialquery/qgsspatialquerydialog.cpp:
In member function ‘void QgsSpatialQueryDialog::removeLayer(bool,
QgsVectorLayer*)’:
/home/timlinux/dev/cpp/qgis/src/plugins/spatialquery/qgsspatialquerydialog.cpp:476:
error: ‘class QGroupBox’ has no member named ‘isShown’
/home/timlinux/dev/cpp/qgis/src/plugins/spatialquery/qgsspatialquerydialog.cpp:
In member function ‘void QgsSpatialQueryDialog::populateCbTargetLayer()’:
/home/timlinux/dev/cpp/qgis/src/plugins/spatialquery/qgsspatialquerydialog.cpp:545:
warning: ‘QString QgsMapLayer::getLayerID() const’ is deprecated (declared
at
/home/timlinux/dev/cpp/qgis/src/plugins/spatialquery/../../core/qgsmaplayer.h:79)
/home/timlinux/dev/cpp/qgis/src/plugins/spatialquery/qgsspatialquerydialog.cpp:
In member function ‘void
QgsSpatialQueryDialog::zoomFeature(QgsVectorLayer*, int)’:
/home/timlinux/dev/cpp/qgis/src/plugins/spatialquery/qgsspatialquerydialog.cpp:686:
warning: ‘long int QgsCoordinateReferenceSystem::epsg() const’ is
deprecated (declared at
/home/timlinux/dev/cpp/qgis/src/plugins/spatialquery/../../core/qgscoordinatereferencesystem.h:268)
/home/timlinux/dev/cpp/qgis/src/plugins/spatialquery/qgsspatialquerydialog.cpp:
In member function ‘void
QgsSpatialQueryDialog::on_pbCreateLayerItems_clicked()’:
/home/timlinux/dev/cpp/qgis/src/plugins/spatialquery/qgsspatialquerydialog.cpp:785:
error: ‘class QComboBox’ has no member named ‘currentItem’
/home/timlinux/dev/cpp/qgis/src/plugins/spatialquery/qgsspatialquerydialog.cpp:
In member function ‘void
QgsSpatialQueryDialog::on_cbTargetLayer_currentIndexChanged(int)’:
/home/timlinux/dev/cpp/qgis/src/plugins/spatialquery/qgsspatialquerydialog.cpp:865:
error: ‘class QGroupBox’ has no member named ‘isShown’
/home/timlinux/dev/cpp/qgis/src/plugins/spatialquery/qgsspatialquerydialog.cpp:
In member function ‘void
QgsSpatialQueryDialog::on_cbReferenceLayer_currentIndexChanged(int)’:
/home/timlinux/dev/cpp/qgis/src/plugins/spatialquery/qgsspatialquerydialog.cpp:878:
error: ‘class QGroupBox’ has no member named ‘isShown’
/home/timlinux/dev/cpp/qgis/src/plugins/spatialquery/qgsspatialquerydialog.cpp:
In member function ‘void
QgsSpatialQueryDialog::on_cbResultFor_currentIndexChanged()’:
/home/timlinux/dev/cpp/qgis/src/plugins/spatialquery/qgsspatialquerydialog.cpp:940:
error: ‘class QGroupBox’ has no member named ‘isShown’
/home/timlinux/dev/cpp/qgis/src/plugins/spatialquery/qgsspatialquerydialog.cpp:
In member function ‘void
QgsSpatialQueryDialog::on_lwFeatures_currentItemChanged(QListWidgetItem*)’:
/home/timlinux/dev/cpp/qgis/src/plugins/spatialquery/qgsspatialquerydialog.cpp:948:
error: ‘class QComboBox’ has no member named ‘currentItem’
/home/timlinux/dev/cpp/qgis/src/plugins/spatialquery/qgsspatialquerydialog.cpp:
In member function ‘void
QgsSpatialQueryDialog::on_ckbZoomItem_clicked(bool)’:
/home/timlinux/dev/cpp/qgis/src/plugins/spatialquery/qgsspatialquerydialog.cpp:974:
error: ‘class QComboBox’ has no member named ‘currentItem’
/home/timlinux/dev/cpp/qgis/src/plugins/spatialquery/qgsspatialquerydialog.cpp:
In member function ‘void
QgsSpatialQueryDialog::signal_qgis_layerWasAdded(QgsMapLayer*)’:
/home/timlinux/dev/cpp/qgis/src/plugins/spatialquery/qgsspatialquerydialog.cpp:1002:
warning: ‘QString QgsMapLayer::getLayerID() const’ is deprecated (declared
at
/home/timlinux/dev/cpp/qgis/src/plugins/spatialquery/../../core/qgsmaplayer.h:79)
/home/timlinux/dev/cpp/qgis/src/plugins/spatialquery/qgsspatialquerydialog.cpp:
In member function ‘void
QgsSpatialQueryDialog::signal_qgis_layerWillBeRemoved(QString)’:
/home/timlinux/dev/cpp/qgis/src/plugins/spatialquery/qgsspatialquerydialog.cpp:1034:
error: ‘class QGroupBox’ has no member named ‘isShown’
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[1]: *** Waiting for unfinished jobs....
[ 61%] Built target offlineeditingplugin
[ 62%] Built target spitplugin
[ 62%] Building CXX object src/app/CMakeFiles/qgis.dir/main.cpp.o
Linking CXX executable qgis
}}}
I'm using Qt 4.6 on ubuntu. By the way it will be easier for me if you
just supply your updates as a patch, or a zip of the whole plugin dir as I
test on different computers and the current way of you supplying updates
means I need to run through each zip file to make sure I didnt leave
anything out.
Once the above problem is resolved, I will probably go ahead and commit
your updates to trunk.
Thanks for all the great work!
Regards
Tim
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2634#comment:37>
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