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 have no knowledge of cmake - so maybe i do something very silly here..
following the readme -
cmake on Kubuntu 23.10 failed for me:
serialplot/build (master)$ cmake -D BUILD_QWT=false ..
.....
-- Could NOT find Qt5Svg (missing: Qt5Svg_DIR)
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:454 (message):
Cannot use "Svg" module which has not yet been found.
Call Stack (most recent call first):
CMakeLists.txt:150 (qt5_use_modules)
i also had to sudo apt install libqt5svg5-dev
with this cmake is fine.
but make fails with
[ 29%] Building CXX object CMakeFiles/serialplot.dir/src/plot.cpp.o
/home/stefan/mydata/tools/serialplot/src/plot.cpp: In member function‘void Plot::setLegendPosition(Qt::AlignmentFlag)’:
/home/stefan/mydata/tools/serialplot/src/plot.cpp:278:12: error: ‘class QwtPlotLegendItem’ has no member named ‘setAlignmentInCanvas’
278 | legend.setAlignmentInCanvas(alignment);| ^~~~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/serialplot.dir/build.make:214: CMakeFiles/serialplot.dir/src/plot.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:89: CMakeFiles/serialplot.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
as the documentation
clearly shows that setAlignmentInCanvas is available i think somehow i have now included the wrong version...
so i tried again with out the -D BUILD_QWT=false and this time it build successfully.
The text was updated successfully, but these errors were encountered:
i have no knowledge of cmake - so maybe i do something very silly here..
following the readme -
cmake on Kubuntu 23.10 failed for me:
serialplot/build (master)$ cmake -D BUILD_QWT=false .. ..... -- Could NOT find Qt5Svg (missing: Qt5Svg_DIR) CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:454 (message): Cannot use "Svg" module which has not yet been found. Call Stack (most recent call first): CMakeLists.txt:150 (qt5_use_modules)
i also had to
sudo apt install libqt5svg5-dev
with this cmake is fine.
but make fails with
as the documentation
clearly shows that
setAlignmentInCanvas
is available i think somehow i have now included the wrong version...so i tried again with out the
-D BUILD_QWT=false
and this time it build successfully.The text was updated successfully, but these errors were encountered: