You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got the error message when I did "make -j4" step:
~/libpath/st_viewer/src/analysis/AnalysisClustering.cpp:266:32: error: ‘QtCharts::QAbstractAxis* QtCharts::QChart::axisY(QtCharts::QAbstractSeries*) const’ is deprecated [-Werror=deprecated-declarations]
m_ui->plot->chart()->axisY()->setRange(min_y - 1, max_y + 1);
^
In file included from ~/Qt/5.12.0/gcc_64/include/QtCharts/QChart:1:0,
from ~/Qt/5.12.0/gcc_64/include/QtCharts/qchartview.h:35,
from ~/Qt/5.12.0/gcc_64/include/QtCharts/QChartView:1,
from ~/libpath/st_viewer/src/analysis/AnalysisClustering.cpp:3:
~/Qt/5.12.0/gcc_64/include/QtCharts/qchart.h:110:38: note: declared here
Q_DECL_DEPRECATED QAbstractAxis axisY(QAbstractSeries series = nullptr) const;
^~~~~
~/libpath/st_viewer/src/analysis/AnalysisClustering.cpp:267:32: error: ‘QtCharts::QAbstractAxis QtCharts::QChart::axisY(QtCharts::QAbstractSeries) const’ is deprecated [-Werror=deprecated-declarations]
m_ui->plot->chart()->axisY()->setTitleText(tr("TSNE/PCA 2"));
^
In file included from ~/Qt/5.12.0/gcc_64/include/QtCharts/QChart:1:0,
from ~/Qt/5.12.0/gcc_64/include/QtCharts/qchartview.h:35,
from ~/Qt/5.12.0/gcc_64/include/QtCharts/QChartView:1,
from ~/libpath/st_viewer/src/analysis/AnalysisClustering.cpp:3:
~/Qt/5.12.0/gcc_64/include/QtCharts/qchart.h:110:38: note: declared here
Q_DECL_DEPRECATED QAbstractAxis *axisY(QAbstractSeries *series = nullptr) const;
^~~~~
cc1plus: all warnings being treated as errors
src/analysis/CMakeFiles/analysis.dir/build.make:134: recipe for target 'src/analysis/CMakeFiles/analysis.dir/AnalysisClustering.cpp.o' failed
make[2]: *** [src/analysis/CMakeFiles/analysis.dir/AnalysisClustering.cpp.o] Error 1
CMakeFiles/Makefile2:1081: recipe for target 'src/analysis/CMakeFiles/analysis.dir/all' failed
make[1]: *** [src/analysis/CMakeFiles/analysis.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered:
I ran into this issue today while installing STViewer on a fresh install of Ubuntu 18.04 and QT Version 5.12.0.
After reading the installation documentation, I removed QT, and installed version 5.9.2 (matching the documentation). I also ensured that I clicked the arrow in the QT Installation Tool and selected QT Charts.
I got the error message when I did "make -j4" step:
~/libpath/st_viewer/src/analysis/AnalysisClustering.cpp:266:32: error: ‘QtCharts::QAbstractAxis* QtCharts::QChart::axisY(QtCharts::QAbstractSeries*) const’ is deprecated [-Werror=deprecated-declarations]
m_ui->plot->chart()->axisY()->setRange(min_y - 1, max_y + 1);
^
In file included from ~/Qt/5.12.0/gcc_64/include/QtCharts/QChart:1:0,
from ~/Qt/5.12.0/gcc_64/include/QtCharts/qchartview.h:35,
from ~/Qt/5.12.0/gcc_64/include/QtCharts/QChartView:1,
from ~/libpath/st_viewer/src/analysis/AnalysisClustering.cpp:3:
~/Qt/5.12.0/gcc_64/include/QtCharts/qchart.h:110:38: note: declared here
Q_DECL_DEPRECATED QAbstractAxis axisY(QAbstractSeries series = nullptr) const;
^~~~~
~/libpath/st_viewer/src/analysis/AnalysisClustering.cpp:267:32: error: ‘QtCharts::QAbstractAxis QtCharts::QChart::axisY(QtCharts::QAbstractSeries) const’ is deprecated [-Werror=deprecated-declarations]
m_ui->plot->chart()->axisY()->setTitleText(tr("TSNE/PCA 2"));
^
In file included from ~/Qt/5.12.0/gcc_64/include/QtCharts/QChart:1:0,
from ~/Qt/5.12.0/gcc_64/include/QtCharts/qchartview.h:35,
from ~/Qt/5.12.0/gcc_64/include/QtCharts/QChartView:1,
from ~/libpath/st_viewer/src/analysis/AnalysisClustering.cpp:3:
~/Qt/5.12.0/gcc_64/include/QtCharts/qchart.h:110:38: note: declared here
Q_DECL_DEPRECATED QAbstractAxis *axisY(QAbstractSeries *series = nullptr) const;
^~~~~
cc1plus: all warnings being treated as errors
src/analysis/CMakeFiles/analysis.dir/build.make:134: recipe for target 'src/analysis/CMakeFiles/analysis.dir/AnalysisClustering.cpp.o' failed
make[2]: *** [src/analysis/CMakeFiles/analysis.dir/AnalysisClustering.cpp.o] Error 1
CMakeFiles/Makefile2:1081: recipe for target 'src/analysis/CMakeFiles/analysis.dir/all' failed
make[1]: *** [src/analysis/CMakeFiles/analysis.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: