.pro: added '-std=c++11' to QMAKE_CXXFLAGS to make it compile with QT4
model.h: <exception> --> <stdexcept> (required for std::runtime_error