×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Jan 2011
    Posts
    25

    Application does not start after update from Qt 4.7.2 to 4.7.3

    Hi,

    My application was working with Qt Creator 2.1 and Qt 4.7.2.
    I started the updater recently after not having used QtCreator a few days.
    The updater worked for a while.
    After that I got an error when I tried to build my app beacause Qt 4.7.2 was missing.
    Now I set up and successfully built with Qt 4.7.3 causing my device (N8) to request the new version of Qt (of course).
    I installed the new .sis on the device, but now the app does not start anymore.
    More exactly: I get a data exception error shortly after launching.
    Has anyone got an idea?
    Am I able to downgrade the device to Qt 4.7.2? I can not find and option to remove the new Qt version.
    Thank you for any hints.

    frsc

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: Application does not start after update from Qt 4.7.2 to 4.7.3

    you should put breakpoints into the code and debug and see where it is crashing, you could also check the panic code for the crash. Basically Qt 4.7.2 had some bugs that are fixed on Qt 4.7.3, thus there wont be Qt 4.7.2 available for the Qt SDK.

  3. #3
    Registered User
    Join Date
    Jan 2011
    Posts
    25

    Re: Application does not start after update from Qt 4.7.2 to 4.7.3

    Thanks for your reply.
    I looked at the error more closely:
    It it caused when using the compass class (sensor api)
    The line:
    Code:
    m_sensor.start();
    causes an error in the following context (constructor of Compass class):
    Code:
    Compass::Compass(QGraphicsPixmapItem *aItem, QGraphicsPixmapItem *aItem2, QGraphicsScene *Scene, double imageheight) :
        m_compassImage(aItem), m_needleImage(aItem2), m_Scene(Scene), m_imageheight(imageheight)
    {
    
    
    
    if (m_rate_val > 0)
        {
        qDebug() << "Compasssensor setdatarate " << endl;
        m_sensor.setDataRate(m_rate_val);
    }
    
    
    m_sensor.addFilter(this);
    m_sensor.start();
    if (!m_sensor.isActive())
    {
        qDebug() << "Compasssensor didn't start!" << endl;    
    }
    }
    Could it be that some changes were made in the use of the compass from 4.7.2 to 4.7.3?

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: Application does not start after update from Qt 4.7.2 to 4.7.3

    QCompass is broken on mobility 1.1.2, it will be fixed on Mobility 1.1.3

  5. #5
    Registered User
    Join Date
    Jan 2011
    Posts
    25

    Re: Application does not start after update from Qt 4.7.2 to 4.7.3

    Thanks for the information.
    Do you know when Mobility 1.1.3 is released.

  6. #6
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: Application does not start after update from Qt 4.7.2 to 4.7.3

    It Should be released with next release of the Qt SDK, though the schedule is not publicly available for its release dates.

Similar Threads

  1. Mobility app does not start after firmware upgrade
    By frsc in forum [Archived] Qt Mobility Project
    Replies: 1
    Last Post: 2011-02-10, 04:08
  2. QtCreator does not offer the Symbian build target after an Update Nokia QT SDK
    By daudrain in forum [Archived] Qt Mobility Project
    Replies: 1
    Last Post: 2010-08-12, 21:23
  3. [Nokia Qt SDK] Qt Simulator does not update UI
    By pixsta in forum [Archived] Qt SDKs and Tools
    Replies: 10
    Last Post: 2010-05-19, 21:54
  4. Midlet does not start after phone power cycle
    By Jeckle in forum Mobile Java General
    Replies: 17
    Last Post: 2009-03-02, 11:41
  5. Application does not start after install
    By thefrozenrose in forum Symbian
    Replies: 3
    Last Post: 2007-05-24, 16:02

Posting Permissions

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