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
Hi,
I didn't get the same result on xunbuntu 16.04 64 bits but the command is different (see below). I just perform a make clean and make commands inside src/Libs/L_UniversalModels/ directory. The -std=c++0x option is also set.
Hi,
I've installed dependencies, but i get the error:
make
( cd src/Libs/L_UniversalModels ; qmake -config release L_UniversalModels.pro; ) || exit 1 ; make -C src/Libs/L_UniversalModels || exit 1
make[1]: Entering directory '/home/hans/Descargas/douml/src/Libs/L_UniversalModels'
g++ -c -m64 -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DQT_DEPRECATED_WARNINGS -DL_TREE_CONTROLLER_LIBRARY -DNDEBUG -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSql -I/usr/include/qt4 -Iinclude -I../L_UniversalModels -I../../../bin/moc_release/UniversalModels -o ../../../bin/obj_release/UniversalModels/AdaptingTableModel.o src/AdaptingTableModel.cpp
In file included from src/AdaptingTableModel.cpp:27:0:
src/../include/AdaptingTableModel.h:52:64: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
virtual QVariant data(const QModelIndex & index, int role) const override;
^
src/../include/AdaptingTableModel.h:53:85: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
virtual bool setData(const QModelIndex & index, const QVariant & value, int role) override;
^
src/../include/AdaptingTableModel.h:54:53: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
virtual int rowCount(const QModelIndex & index) const override;
^
src/../include/AdaptingTableModel.h:55:56: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
virtual int columnCount(const QModelIndex & index) const override;
^
src/../include/AdaptingTableModel.h:57:80: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
virtual QModelIndex index(int row, int column, const QModelIndex & parent) const override;
^
src/../include/AdaptingTableModel.h:58:52: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
Qt::ItemFlags flags(const QModelIndex & index) const override;
^
src/../include/AdaptingTableModel.h:59:85: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
virtual QVariant headerData(int section, Qt::Orientation orientation, int role) const override;
^
In file included from src/AdaptingTableModel.cpp:28:0:
src/../include/TableDataInterface.h:55:39: error: 'std::function' has not been declared
virtual void SetSortFunction(std::function<bool(void*, void*)> func) = 0;
^
src/../include/TableDataInterface.h:55:47: error: expected ',' or '...' before '<' token
virtual void SetSortFunction(std::function<bool(void*, void*)> func) = 0;
^
Makefile:255: recipe for target '../../../bin/obj_release/UniversalModels/AdaptingTableModel.o' failed
make[1]: *** [../../../bin/obj_release/UniversalModels/AdaptingTableModel.o] Error 1
make[1]: Leaving directory '/home/hans/Descargas/douml/src/Libs/L_UniversalModels'
Makefile:118: recipe for target 'compile' failed
make: *** [compile] Error 1
Thanks for this project !!
Kind Rergards, Hans Poo, Welinux S.A.
Bombero Ossa #1010, oficina 800,
+56-22-3729770, Movil: +56-9-93199305
Santiago, Chile
The text was updated successfully, but these errors were encountered: