prasad_N
21st September 2015, 18:18
Hi,
I have an issue in my application, I am working with MVC. I have customised view, model & proxy model.
When i build this app in debug mode it working fine & cool, But when i build this app in release mode The app is crashing.
I tried debugging it & found its crashing when it calls proxyModel::columnCount()
When I debug I see call stack Info as below (Starting from main & crashing at columnCount())
proxyModel::columnCount(); //App is crashing here
headeview->setModel(model);
view->setModel(model);
.......
........
main()
my model from qabstractitemmodel:
int model::columnCount(const QModelIndex &parent) const
{
return 1;
}
I have nothing Implemented in proxy except filterAcceptRows()
Sorry but not able to provide much code. What might gone wrong in my application ??
And 1 more Qs: Is there simple or standard way to debug MVC, I see debugging MVC is very difficult.
I have an issue in my application, I am working with MVC. I have customised view, model & proxy model.
When i build this app in debug mode it working fine & cool, But when i build this app in release mode The app is crashing.
I tried debugging it & found its crashing when it calls proxyModel::columnCount()
When I debug I see call stack Info as below (Starting from main & crashing at columnCount())
proxyModel::columnCount(); //App is crashing here
headeview->setModel(model);
view->setModel(model);
.......
........
main()
my model from qabstractitemmodel:
int model::columnCount(const QModelIndex &parent) const
{
return 1;
}
I have nothing Implemented in proxy except filterAcceptRows()
Sorry but not able to provide much code. What might gone wrong in my application ??
And 1 more Qs: Is there simple or standard way to debug MVC, I see debugging MVC is very difficult.