Hello I'm developping a Blackberry 10 app. using the momentics IDE (BB Native SDK)
This error below is really stupid. But for lack of documentations, I can not find a solution for it. Can anyone please guid me on this .
QVariantMap m_applicationConfig;
void AppConfiguration::setApplicationConfig(QVariantMap argAppConfigParams) {
m_applicationConfig = argAppConfigParams;
}
When I try to execute the function, it crush when it try to affect a QVariantMap from another QVariantMap.
At first try to change function signature, like this:
void AppConfiguration::setApplicationConfig(const QVariantMap &argAppConfigParams) {
m_applicationConfig = argAppConfigParams;
}
Then could you show code samples where you initialize m_applicationConfig and fill out the passed argument?