Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /home/rahul.c/code/dms_qt/src/dmsmainwindow.cpp: In member function ‘QStandardItemModel DmsMainWindow::getLeftEye()’:
- /home/rahul.c/code/dms_qt/src/dmsmainwindow.cpp:849:29: error: ‘QStandardItemModel::QStandardItemModel(const QStandardItemModel&)’ is private within this context
- In file included from /home/rahul.c/Qt5.12.0/5.12.0/gcc_64/include/QtGui/qtguiglobal.h:43:0,
- from /home/rahul.c/Qt5.12.0/5.12.0/gcc_64/include/QtWidgets/qtwidgetsglobal.h:43,
- from /home/rahul.c/Qt5.12.0/5.12.0/gcc_64/include/QtWidgets/qmainwindow.h:43,
- from /home/rahul.c/Qt5.12.0/5.12.0/gcc_64/include/QtWidgets/QMainWindow:1,
- from /home/rahul.c/code/dms_qt/src/dmsmainwindow.h:4,
- from /home/rahul.c/code/dms_qt/src/dmsmainwindow.cpp:1:
- /home/rahul.c/Qt5.12.0/5.12.0/gcc_64/include/QtGui/qstandarditemmodel.h:433:5: note: declared private here
- Q_DISABLE_COPY(QStandardItemModel)
- ^
- /home/rahul.c/code/dms_qt/src/dmsmainwindow.cpp:849:29: error: use of deleted function ‘QStandardItemModel::QStandardItemModel(const QStandardItemModel&)’
- In file included from /home/rahul.c/Qt5.12.0/5.12.0/gcc_64/include/QtGui/qtguiglobal.h:43:0,
- from /home/rahul.c/Qt5.12.0/5.12.0/gcc_64/include/QtWidgets/qtwidgetsglobal.h:43,
- from /home/rahul.c/Qt5.12.0/5.12.0/gcc_64/include/QtWidgets/qmainwindow.h:43,
- from /home/rahul.c/Qt5.12.0/5.12.0/gcc_64/include/QtWidgets/QMainWindow:1,
- from /home/rahul.c/code/dms_qt/src/dmsmainwindow.h:4,
- from /home/rahul.c/code/dms_qt/src/dmsmainwindow.cpp:1:
- /home/rahul.c/Qt5.12.0/5.12.0/gcc_64/include/QtGui/qstandarditemmodel.h:433:5: note: declared here
- Q_DISABLE_COPY(QStandardItemModel)
- ^
- src/CMakeFiles/dms_qt.dir/build.make:86: recipe for target 'src/CMakeFiles/dms_qt.dir/dmsmainwindow.cpp.o' failed
- make[2]: *** [src/CMakeFiles/dms_qt.dir/dmsmainwindow.cpp.o] Error 1
- CMakeFiles/Makefile2:86: recipe for target 'src/CMakeFiles/dms_qt.dir/all' failed
- make[1]: *** [src/CMakeFiles/dms_qt.dir/all] Error 2
- Makefile:129: recipe for target 'all' failed
- make: *** [all] Error 2
Add Comment
Please, Sign In to add comment