Hi Sanders

I will try to give as thorough description as possible.

My current development environment is this: 
Windows 7 Professional 32 bit
Nokia Qt SDK 1.0.0 (According to Add/Remove programs). I'm pretty sure though, 
that I installed Nokia Qt Sdk from the 1.0.1 offline installer 
(Nokia_Qt_SDK_Win_offline_v1_0_1_en.exe)
Carbide 2.3.0

I started out with this, I have then subsequently copied the contents of 
qt-mobility-symbian-opensource-1.1.0-beta-epoc32-3.2.zip from the QTM 1.1. 
Beta2 to C:\nokiaQtSdk\Symbian\SDK\ to be able to get the QTM 1.1 Camera API 
headers and stuff. 

It was first later that I have found out that some of QTM 1.1 actually relies 
on Qt 4.7, at least the installer in the beta 2 does.

The device I am testing on is a Nokia E52 with the newest firmware, which is 
Symbian S60 3rd Edition FP2. 

I have a virtual image with a Windows 7 as well, with Qt 4.7 RC1 and the QTM 
1.1 Beta 2, and this seems to behave the same way. 

I have tried installing Panic Observer on the device, and it gives a 
KERNEL-EXEC with reason 3 panic when it crashes. As far as I know this is 
typical a null-pointer error.

And to recap, it works on my device with Qt 4.6.3/QTM 1.0.2, but not with Qt 
4.7/QTM 1.1b2.

Are there any more information that could be interesting to you?

Best regards 
/Anders

-----Original Message-----
From: Don Sanders [mailto:[email protected]] 
Sent: 28. oktober 2010 18:50
To: Anders Kjærgaard Hansen
Cc: [email protected]
Subject: Re: [Qt-mobility-feedback] Problems with QMessageManager in QTM 1.1 
Beta 2

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
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback
> 


_______________________________________________
Qt-mobility-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback

Reply via email to