deprecated functions building zyGrib against qwt-6.1.0

Image Ici on parle français ou anglais, comme on veut, comme on peut.
Image Here we speak french or english, as we want, as we can.

Moderator: jza

Forum rules
Image Ici on parle français ou anglais, comme on veut, comme on peut, mais on n'oublie jamais que l'on discute entre humains.
Il ne faut surtout pas oublier les mots magiques: bonjour, salut, merci, etc.
Les messages impolis sont rejetés et restent sans réponse.
Il faut souvent être patient, car il y a plein d'autres activités encore plus passionantes dans notre vie.

Image Here we speak french or english, as we want, as we can, but we never forget that we discuss between humans.
Do not forget the magic words: hello, hi, thank you, etc.
Rude messages are rejected and remain unanswered.
It is often necessary to be patient because there are many other activities even more exciting in our life.
Post Reply
rosset
Posts: 1
Joined: 15 May 2014 04:44

deprecated functions building zyGrib against qwt-6.1.0

Post by rosset » 15 May 2014 04:50

Hi guys, I'm building zyGrib 6.2.3 in Fedora and I've found some issues w/ the latest qwt-6.1.0
can you please upgrade zyGrib to use the new qwt-6.1.0?
Probably there are other deprecated functions in other pieces of code.
Regards, Filipe R.

http://qwt.sourceforge.net/qwtchangelog.html
QwtPicker QwtPicker::rubberBandWidget(), QwtPicker::trackerWidget() have been replaced by QwtPicker::rubberBandOverlay(), QwtPicker::trackerOverlay(). QwtPicker::rubberBandMask() has been added.
QwtPicker::pickRect() has been replaced by QwtPicker::pickArea()

g++ -Wl,-O1 -Wl,-z,relro -O3 -o zyGrib objs/PositionEditorWidget.o objs/ColorEditorWidget.o objs/LineEditorWidget.o objs/TextStyleEditorWidget.o objs/AngleConverterWidget.o objs/AngleConverterDialog.o objs/BoatSpeed.o objs/CurveDrawer.o objs/CustomQwtClasses.o objs/Astro.o objs/MbzFile.o objs/MblueRecord.o objs/MblueReader.o objs/MbluePlot.o objs/BoardPanel.o objs/ColorScale.o objs/ColorScaleWidget.o objs/DataColors.o objs/DataQString.o objs/DataMeteoAbstract.o objs/DataPointInfo.o objs/DateChooser.o objs/DialogBoxColumn.o objs/DialogFonts.o objs/DialogGraphicsParams.o objs/DialogLoadGRIB.o objs/DialogLoadIAC.o objs/DialogLoadMBLUE.o objs/DialogProxy.o objs/DialogSelectMetar.o objs/DialogServerStatus.o objs/DialogUnits.o objs/FileLoaderGRIB.o objs/FileLoaderIAC.o objs/FileLoaderMBLUE.o objs/Font.o objs/GriddedPlotter.o objs/GriddedReader.o objs/GriddedRecord.o objs/GshhsRangsReader.o objs/GshhsReader.o objs/GribAnimator.o objs/GribPlot.o objs/GisReader.o objs/GribReader.o objs/GribRecord.o objs/IacPlot.o objs/IacReader.o objs/IacReaderUtil.o objs/ImageWriter.o objs/IrregularGridded.o objs/IsoLine.o objs/LongTaskProgress.o objs/LonLatGrid.o objs/main.o objs/MainWindow.o objs/MapDrawer.o objs/MenuBar.o objs/Metar.o objs/MeteoTable.o objs/MeteoTableWidget.o objs/MeteotableOptionsDialog.o objs/Orthodromie.o objs/POI.o objs/POI_Editor.o objs/PositionEditor.o objs/Projection.o objs/Projection_libproj.o objs/Settings.o objs/SkewT.o objs/SkewTWindow.o objs/Terrain.o objs/Therm.o objs/Util.o objs/zuFile.o objs/moc_PositionEditorWidget.o objs/moc_ColorEditorWidget.o objs/moc_LineEditorWidget.o objs/moc_TextStyleEditorWidget.o objs/moc_AngleConverterWidget.o objs/moc_AngleConverterDialog.o objs/moc_CurveDrawer.o objs/moc_BoardPanel.o objs/moc_ColorScaleWidget.o objs/moc_DataQString.o objs/moc_DateChooser.o objs/moc_DialogBoxColumn.o objs/moc_DialogFonts.o objs/moc_DialogGraphicsParams.o objs/moc_DialogLoadGRIB.o objs/moc_DialogLoadIAC.o objs/moc_DialogLoadMBLUE.o objs/moc_DialogProxy.o objs/moc_DialogSelectMetar.o objs/moc_DialogServerStatus.o objs/moc_DialogUnits.o objs/moc_FileLoaderGRIB.o objs/moc_FileLoaderIAC.o objs/moc_FileLoaderMBLUE.o objs/moc_GribAnimator.o objs/moc_ImageWriter.o objs/moc_LongTaskProgress.o objs/moc_Metar.o objs/moc_MeteoTable.o objs/moc_MeteoTableWidget.o objs/moc_MeteotableOptionsDialog.o objs/moc_MainWindow.o objs/moc_MapDrawer.o objs/moc_MenuBar.o objs/moc_POI.o objs/moc_POI_Editor.o objs/moc_PositionEditor.o objs/moc_Projection.o objs/moc_SkewT.o objs/moc_Terrain.o objs/moc_Util.o -L/usr/lib64 -lbz2 -lz -lproj -lnova -Lqwt-6.0.1/lib/ -lqwt -lQtXml -lQtGui -lQtNetwork -lQtCore -lpthread
objs/CurveDrawer.o: In function `CurveDrawer::activateLegend(QwtPlotItem*, bool)':
/home/filiperosset/rpmbuild/extras/_1/zyGrib/zyGrib-6.2.3/src/curvedrawer/CurveDrawer.cpp:615: undefined reference to `QwtLegend::find(QwtLegendItemManager const*) const'
/home/filiperosset/rpmbuild/extras/_1/zyGrib/zyGrib-6.2.3/src/curvedrawer/CurveDrawer.cpp:617: undefined reference to `QwtLegendItem::setChecked(bool)'
/home/filiperosset/rpmbuild/extras/_1/zyGrib/zyGrib-6.2.3/src/curvedrawer/CurveDrawer.cpp:615: undefined reference to `QwtLegend::find(QwtLegendItemManager const*) const'
/home/filiperosset/rpmbuild/extras/_1/zyGrib/zyGrib-6.2.3/src/curvedrawer/CurveDrawer.cpp:617: undefined reference to `QwtLegendItem::setChecked(bool)'
objs/CurveDrawer.o: In function `CurveDrawer::privateConstructor()':
/home/filiperosset/rpmbuild/extras/_1/zyGrib/zyGrib-6.2.3/src/qwt-6.0.1/src/qwt_scale_engine.h:146: undefined reference to `QwtScaleEngine::QwtScaleEngine()'
/home/filiperosset/rpmbuild/extras/_1/zyGrib/zyGrib-6.2.3/src/qwt-6.0.1/src/qwt_scale_engine.h:146: undefined reference to `QwtScaleEngine::QwtScaleEngine()'
objs/CurveDrawer.o: In function `CurveDrawer::privateConstructor()':
/home/filiperosset/rpmbuild/extras/_1/zyGrib/zyGrib-6.2.3/src/curvedrawer/CurveDrawer.cpp:762: undefined reference to `QwtPlotMarker::QwtPlotMarker()'
/home/filiperosset/rpmbuild/extras/_1/zyGrib/zyGrib-6.2.3/src/curvedrawer/CurveDrawer.cpp:763: undefined reference to `QwtPlotMarker::QwtPlotMarker()'
objs/CurveDrawer.o: In function `CurveDrawer::initDataPlot(int const&)':
/home/filiperosset/rpmbuild/extras/_1/zyGrib/zyGrib-6.2.3/src/curvedrawer/CurveDrawer.cpp:410: undefined reference to `QwtLegend::setItemMode(QwtLegend::LegendItemMode)'
/home/filiperosset/rpmbuild/extras/_1/zyGrib/zyGrib-6.2.3/src/curvedrawer/CurveDrawer.cpp:412: undefined reference to `QwtPlot::insertLegend(QwtLegend*, QwtPlot::LegendPosition, double)'
objs/CustomQwtClasses.o: In function `CustomQwtPicker::CustomQwtPicker(int, int, QwtPicker::RubberBand, QwtPickerMachine*, QwtPicker::DisplayMode, QwtPlotCanvas*, QDateTime const&, QwtPlotCurve*)':
/home/filiperosset/rpmbuild/extras/_1/zyGrib/zyGrib-6.2.3/src/curvedrawer/CustomQwtClasses.cpp:56: undefined reference to `QwtPlotPicker::QwtPlotPicker(int, int, QwtPicker::RubberBand, QwtPicker::DisplayMode, QwtPlotCanvas*)'
/home/filiperosset/rpmbuild/extras/_1/zyGrib/zyGrib-6.2.3/src/curvedrawer/CustomQwtClasses.cpp:64: undefined reference to `QwtEventPattern::setKeyPattern(unsigned int, int, int)'
/home/filiperosset/rpmbuild/extras/_1/zyGrib/zyGrib-6.2.3/src/curvedrawer/CustomQwtClasses.cpp:65: undefined reference to `QwtEventPattern::setKeyPattern(unsigned int, int, int)'
objs/CustomQwtClasses.o: In function `QVector<QString>::~QVector()':
/usr/include/QtCore/qbasicatomic.h:93: undefined reference to `QwtPicker::pickRect() const'
collect2: error: ld returned 1 exit status
make[1]: *** [zyGrib] Error 1
make[1]: Leaving directory `/home/filiperosset/rpmbuild/extras/_1/zyGrib/zyGrib-6.2.3/src'
make: *** [zyGrib] Error 2

jza
Site Admin
Posts: 601
Joined: 19 Jan 2009 00:22

Re: deprecated functions building zyGrib against qwt-6.1.0

Post by jza » 04 Jun 2014 07:56

Hi,

This is an old debate:
viewtopic.php?f=3&t=634&hilit=qwt
A+
Jacques

coogor
Posts: 43
Joined: 29 Mar 2010 10:04

Re: deprecated functions building zyGrib against qwt-6.1.0

Post by coogor » 10 Nov 2014 10:58

Yes, but it comes back again.
I just noticed that the build of zyGrib 6.2.4 fails when running with the same parameters as 6.2.3.
Will look into this when I have time (so not today...)

coogor
Posts: 43
Joined: 29 Mar 2010 10:04

Re: deprecated functions building zyGrib against qwt-6.1.0

Post by coogor » 14 Nov 2014 12:29

Fixed now, was the qmake-command.
Latest build is available at:
https://build.opensuse.org/package/show ... Geo/ZYGrib

jza
Site Admin
Posts: 601
Joined: 19 Jan 2009 00:22

Re: deprecated functions building zyGrib against qwt-6.1.0

Post by jza » 16 Nov 2014 11:28

Hi,
Thank you for your contribution to the project.
A+
Jacques

Post Reply

Who is online

Users browsing this forum: No registered users and 26 guests