vovk@dell:/mnt/datadisk1/Work/fstl-master/release$ qmake-qt4 ../qt/fstl.pro vovk@dell:/mnt/datadisk1/Work/fstl-master/release$ make g++ -c -pipe -O3 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I../qt -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtOpenGL -I/usr/include -I/usr/X11R6/include -I. -I../qt -I. -o app.o ../src/app.cpp g++ -c -pipe -O3 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I../qt -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtOpenGL -I/usr/include -I/usr/X11R6/include -I. -I../qt -I. -o main.o ../src/main.cpp g++ -c -pipe -O3 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I../qt -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtOpenGL -I/usr/include -I/usr/X11R6/include -I. -I../qt -I. -o canvas.o ../src/canvas.cpp ../src/canvas.cpp: In member function ‘void Canvas::draw_mesh()’: ../src/canvas.cpp:93:55: error: no matching function for call to ‘Canvas::glUniformMatrix4fv(int, int, int, qreal*)’ 1, GL_FALSE, transform_matrix().data()); ^ In file included from /usr/include/QtOpenGL/QGLFunctions:1:0, from ../src/canvas.h:6, from ../src/canvas.cpp:6: /usr/include/QtOpenGL/qglfunctions.h:1264:13: note: candidate: void QGLFunctions::glUniformMatrix4fv(GLint, GLsizei, GLboolean, const GLfloat*) inline void QGLFunctions::glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) ^~~~~~~~~~~~ /usr/include/QtOpenGL/qglfunctions.h:1264:13: note: no known conversion for argument 4 from ‘qreal* {aka double*}’ to ‘const GLfloat* {aka const float*}’ ../src/canvas.cpp:96:50: error: no matching function for call to ‘Canvas::glUniformMatrix4fv(int, int, int, qreal*)’ 1, GL_FALSE, view_matrix().data()); ^ In file included from /usr/include/QtOpenGL/QGLFunctions:1:0, from ../src/canvas.h:6, from ../src/canvas.cpp:6: /usr/include/QtOpenGL/qglfunctions.h:1264:13: note: candidate: void QGLFunctions::glUniformMatrix4fv(GLint, GLsizei, GLboolean, const GLfloat*) inline void QGLFunctions::glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) ^~~~~~~~~~~~ /usr/include/QtOpenGL/qglfunctions.h:1264:13: note: no known conversion for argument 4 from ‘qreal* {aka double*}’ to ‘const GLfloat* {aka const float*}’ Makefile:272: recipe for target 'canvas.o' failed make: *** [canvas.o] Error 1