Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incomplete types #66

Open
yurivict opened this issue Jul 7, 2022 · 0 comments
Open

Incomplete types #66

yurivict opened this issue Jul 7, 2022 · 0 comments

Comments

@yurivict
Copy link

yurivict commented Jul 7, 2022

work/workbench-1.5.0-430-g1e6d5c5c9/src/GuiQt/MapSettingsPaletteColorMappingWidget.cxx|2314 col 31| error: 'QPen' is an incomplete type
||                 curve->setPen(QPen(color));
||                               ^
/usr/local/include/qt5/QtCore/qmetatype.h|2090 col 1| note: forward declaration of 'QPen'
|| QT_FOR_EACH_STATIC_GUI_CLASS(QT_FORWARD_DECLARE_STATIC_TYPES_ITER)
|| ^
/usr/local/include/qt5/QtCore/qmetatype.h|167 col 17| note: expanded from macro 'QT_FOR_EACH_STATIC_GUI_CLASS'
||     F(QPen, 76, QPen) \
||                 ^
work/workbench-1.5.0-430-g1e6d5c5c9/src/GuiQt/MapSettingsPaletteColorMappingWidget.cxx|2384 col 95| error: member access into incomplete type 'const QwtScaleDiv'
||                 const float plotMinValue = this->thresholdPlot->axisScaleDiv(QwtPlot::xBottom).lowerBound();
||                                                                                               ^
/usr/local/include/qt5/qwt6/qwt_plot_item.h|18 col 7| note: forward declaration of 'QwtScaleDiv'
|| class QwtScaleDiv;
||       ^
work/workbench-1.5.0-430-g1e6d5c5c9/src/GuiQt/MapSettingsPaletteColorMappingWidget.cxx|2385 col 95| error: member access into incomplete type 'const QwtScaleDiv'
||                 const float plotMaxValue = this->thresholdPlot->axisScaleDiv(QwtPlot::xBottom).upperBound();
||                                                                                               ^
/usr/local/include/qt5/qwt6/qwt_plot_item.h|18 col 7| note: forward declaration of 'QwtScaleDiv'
|| class QwtScaleDiv;
||       ^
work/workbench-1.5.0-430-g1e6d5c5c9/src/GuiQt/MapSettingsPaletteColorMappingWidget.cxx|2401 col 32| error: 'QPen' is an incomplete type
||                 minBox->setPen(QPen(minColor));
||                                ^

QPen and some other includes are missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant