SVG2QML icon indicating copy to clipboard operation
SVG2QML copied to clipboard

no declaration matches «CMatrix& CMatrix::setBy(int, int, const QList<double>&, SETBY)»

Open levovix0 opened this issue 3 years ago • 1 comments

Compilation fails with error

../Algebra/cmatrix.cpp:149:10: ошибка: no declaration matches «CMatrix& CMatrix::setBy(int, int, const QList<double>&, SETBY)»
  149 | CMatrix &CMatrix::setBy(int cols, int rows, const QList<double> &matrix, CMatrix::SETBY dir)
      |          ^~~~~~~
In file included from ../Algebra/cmatrix.cpp:1:
../Algebra/cmatrix.h:34:15: замечание: кандидат «CMatrix& CMatrix::setBy(int, int, const TMatrix&, SETBY)»
   34 |     CMatrix & setBy(int cols, int rows, const TMatrix &matrix, SETBY dir=SET_BY_ROWS);
      |               ^~~~~
../Algebra/cmatrix.h:12:7: замечание: «class CMatrix» defined here
   12 | class CMatrix: public CEmpty
      |       ^~~~~~~
make: *** [Makefile:1201: cmatrix.o] Ошибка 1

levovix0 avatar Jul 11 '22 05:07 levovix0

make sure you're building it with qt6 not qt5.15 (for example, run qmake via qmake6 binary)

a-andreyev avatar May 17 '23 09:05 a-andreyev