Bug report #3069

qgsrasterlayerproperties.cpp failing to compile

Added by Jean-Roc Morreale about 14 years ago. Updated about 14 years ago.

Status:Closed
Priority:Low
Assignee:nobody -
Category:Build/Install
Affected QGIS version: Regression?:No
Operating System:Mandriva Easy fix?:No
Pull Request or Patch supplied: Resolution:fixed
Crashes QGIS or corrupts data: Copied to github as #:13129

Description

Hi, rev 14316 of the QGIS svn trunk can't be compiled due to a faulty qgsrasterlayerproperties.cpp

./qgsrasterlayerproperties.cpp:55:29: error: qwt_plot_canvas.h : No folder or file of this type
./qgsrasterlayerproperties.cpp:56:23: error: qwt_array.h : No folder or file of this type
./qgsrasterlayerproperties.cpp:57:24: error: qwt_legend.h : No folder or file of this type
./qgsrasterlayerproperties.cpp:58:22: error: qwt_plot.h : No folder or file of this type
./qgsrasterlayerproperties.cpp:59:28: error: qwt_plot_curve.h : No folder or file of this type
./qgsrasterlayerproperties.cpp:60:27: error: qwt_plot_grid.h : No folder or file of this type
./qgsrasterlayerproperties.cpp: In member function ‘void QgsRasterLayerProperties::refreshHistogram()’:
./qgsrasterlayerproperties.cpp:1857: error: ‘QwtPlot’ was not declared in this scope
./qgsrasterlayerproperties.cpp:1857: error: ‘mypPlot’ was not declared in this scope
./qgsrasterlayerproperties.cpp:1857: error: expected type-specifier before ‘QwtPlot’
./qgsrasterlayerproperties.cpp:1857: error: expected ‘;’ before ‘QwtPlot’
./qgsrasterlayerproperties.cpp:1866: error: expected type-specifier before ‘QwtLegend’
./qgsrasterlayerproperties.cpp:1866: error: expected ‘)’ before ‘QwtLegend’
./qgsrasterlayerproperties.cpp:1866: error: ‘QwtPlot’ is not a class or namespace
./qgsrasterlayerproperties.cpp:1868: error: ‘QwtPlot’ is not a class or namespace
./qgsrasterlayerproperties.cpp:1869: error: ‘QwtPlot’ is not a class or namespace
./qgsrasterlayerproperties.cpp:1870: error: ‘QwtPlot’ is not a class or namespace
./qgsrasterlayerproperties.cpp:1871: error: ‘QwtPlot’ is not a class or namespace
./qgsrasterlayerproperties.cpp:1873: error: ‘QwtPlotGrid’ was not declared in this scope
./qgsrasterlayerproperties.cpp:1873: error: ‘myGrid’ was not declared in this scope
./qgsrasterlayerproperties.cpp:1873: error: expected type-specifier before ‘QwtPlotGrid’
./qgsrasterlayerproperties.cpp:1873: error: expected ‘;’ before ‘QwtPlotGrid’
./qgsrasterlayerproperties.cpp:1910: error: ‘QwtPlotCurve’ was not declared in this scope
./qgsrasterlayerproperties.cpp:1910: error: ‘mypCurve’ was not declared in this scope
./qgsrasterlayerproperties.cpp:1910: error: expected type-specifier before ‘QwtPlotCurve’
./qgsrasterlayerproperties.cpp:1910: error: expected ‘;’ before ‘QwtPlotCurve’
./qgsrasterlayerproperties.cpp:1911: error: ‘QwtPlotItem’ has not been declared
./qgsrasterlayerproperties.cpp:1913: error: ‘QwtArray’ was not declared in this scope
./qgsrasterlayerproperties.cpp:1913: error: expected primary-expression before ‘double’
./qgsrasterlayerproperties.cpp:1913: error: expected ‘;’ before ‘double’
./qgsrasterlayerproperties.cpp:1914: error: expected primary-expression before ‘double’
./qgsrasterlayerproperties.cpp:1914: error: expected ‘;’ before ‘double’
./qgsrasterlayerproperties.cpp:1918: error: ‘myX2Data’ was not declared in this scope
./qgsrasterlayerproperties.cpp:1919: error: ‘myY2Data’ was not declared in this scope
./qgsrasterlayerproperties.cpp:1921: error: ‘myX2Data’ was not declared in this scope
./qgsrasterlayerproperties.cpp:1921: error: ‘myY2Data’ was not declared in this scope

History

#1 Updated by Volker Fröhlich about 14 years ago

Can't confirm that for Fedora 13.

Seems like the headers for QWT can't be found.

#2 Updated by Jürgen Fischer about 14 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

QWT is not optional anymore. Fixed in 5efadc10 (SVN r14318).

Also available in: Atom PDF