Hi, Which platfrom are you experiencing the crash on? Can you please provide more information about the environment you are using? (The more the better).
Kind regards, Don Sanders On 2010-10-28T22:17:22, ext Anders Kjærgaard Hansen wrote: > Hi all > > Below is a code snippet, which is working in QT 4.6.3 with QTM 1.0.2. > > bool CreateAccount::DoesAccountExist(){ > QMessageAccountFilter accFilter = > QMessageAccountFilter::byName(accountName, QMessageDataComparator::Equal); > QMessageManager* manager = new QMessageManager(0); > if(manager->countAccounts(accFilter) > 0){ > return true; > }else{ > return false; > } > } > > If I update QT to QT 4.7 and QTM to 1.1 Beta2 on my device, the code above > fails/panics in the line where the MessageManager object is created. > > Are there any known bugs in the beta about this? > > The obvious would be that the QObject* = 0 given as input to the > QMessageManager constructor causes this. But according to documentation > default value is 0, so it should be possible to do. > > I need to start using QTM 1.1 Beta soon because the last part of my > application I need to do is Camera functionality, using the Camera API in > QTM. > > Best regards > /Anders > > _______________________________________________ > Qt-mobility-feedback mailing list > Qt-mobility-feedback@trolltech.com > http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback > _______________________________________________ Qt-mobility-feedback mailing list Qt-mobility-feedback@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback