×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Nov 2010
    Posts
    31

    error " A data abort exception has occurred "

    Hi, I installed NokiaQtSdk 1.0.2 and QtMobility 1.0.2.
    The examples in QtMobility work well. However, the simplest code I make fails when I execute 'run' on my device.

    untitled8.pro
    Code:
    CONFIG += mobility
    MOBILITY = contacts
    INCLUDEPATH += c:/QtMobility/src
    widget.cpp
    Code:
    #include "widget.h"
    #include "ui_widget.h"
    #include "contacts/qtcontacts.h"
    
    Widget::Widget(QWidget *parent) :
        QWidget(parent),
        ui(new Ui::Widget)
    {
        ui->setupUi(this);
        QtMobility::QContactManager *contactManager;
    //    contactManager = new QContactManager("symbian");
    }
    Widget::~Widget()  {delete ui;}
    The upper code work. However, removing double slush(//) in widget.cpp gives me an error
    "Process 12957, thread 12958 stopped at 0x825634d8: A data abort exception has occurred."

    Do I use it wrong?
    Last edited by dkanskansk; 2011-01-17 at 06:14.

  2. #2
    Registered User
    Join Date
    Nov 2010
    Posts
    31

    Re: error " A data abort exception has occurred "

    I got it. Attach the following lines to the .pro file.

    Code:
    INCLUDEPATH += c:/NokiaQtSdk/Symbian/SDK/epoc32/include/applications
    
    symbian {
        TARGET.CAPABILITY = ReadUserData WriteUserData
    }
    Must delete all files in the project directory except the source(.cpp, .h , .pro, .pri etc...). Then, open the .pro file and run.

    I hope this help anyone who read it.

Similar Threads

  1. A code abort exception has occurred
    By feinfinger in forum Symbian
    Replies: 9
    Last Post: 2011-02-17, 13:14
  2. Replies: 6
    Last Post: 2010-06-16, 09:21
  3. Replies: 4
    Last Post: 2009-12-11, 09:43
  4. Replies: 3
    Last Post: 2008-04-11, 11:19

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×