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
cd SHV/shvapp
mkdir build
cd build
cmake -DSHVSPY_USE_QT6=OFF -DUSE_QT6=OFF -DLIBSHV_USE_QT6=OFF -DCMAKE_INSTALL_PREFIX=.. ..
make
and we obtain this error:
[ 72%] Built target jn50view_autogen
[ 73%] Building CXX object clients/jn50view/CMakeFiles/jn50view.dir/jn50view_autogen/mocs_compilation.cpp.o
In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QGraphicsView:1,
from /home/bucher/ToDo/test_Felipe_build/SHV/shvapp/build/clients/jn50view/jn50view_autogen/OWAQZC3XRN/../../../../../clients/jn50view/src/svgscene/graphicsview.h:3,
from /home/bucher/ToDo/test_Felipe_build/SHV/shvapp/build/clients/jn50view/jn50view_autogen/OWAQZC3XRN/moc_graphicsview.cpp:10,
from /home/bucher/ToDo/test_Felipe_build/SHV/shvapp/build/clients/jn50view/jn50view_autogen/mocs_compilation.cpp:8:
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qgraphicsview.h:169:40: error: ‘QMatrix’ does not name a type; did you mean ‘QMatrix4x4’?
169 | QT_DEPRECATED_X("Use transform()") QMatrix matrix() const;
| ^~~~~~~
| QMatrix4x4
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qgraphicsview.h:170:64: error: ‘QMatrix’ does not name a type; did you mean ‘QMatrix4x4’?
170 | QT_DEPRECATED_X("Use setTransform()") void setMatrix(const QMatrix &matrix, bool combine = false);
| ^~~~~~~
| QMatrix4x4
make[2]: *** [clients/jn50view/CMakeFiles/jn50view.dir/build.make:95: clients/jn50view/CMakeFiles/jn50view.dir/jn50view_autogen/mocs_compilation.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1992: clients/jn50view/CMakeFiles/jn50view.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
As you can see I tried all the possible defines I used in the past.
Last time, if I right remember, it compiled using only -DSHVSPY_USE_QT6=OFF or -DLIBSHV_USE_QT6=OFF...
It worked in the past without problems using QT5 and QT6, now it compiles only under QT6.
What are we doing wrong?
Thanks in advance
The text was updated successfully, but these errors were encountered:
We configured the Makefile using:
and we obtain this error:
As you can see I tried all the possible defines I used in the past.
Last time, if I right remember, it compiled using only -DSHVSPY_USE_QT6=OFF or -DLIBSHV_USE_QT6=OFF...
It worked in the past without problems using QT5 and QT6, now it compiles only under QT6.
What are we doing wrong?
Thanks in advance
The text was updated successfully, but these errors were encountered: