Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User gardiol's Avatar
    Join Date
    Jul 2010
    Posts
    99
    Hi..
    has anybody encountered this problem?

    0) install Nokia Qt SDK 1.0
    1) start new qt mobile application
    2) create new application and copy&paste the first example from http://wiki.forum.nokia.com/index.ph...Qt_for_Symbian
    3) deploy on Symbian device (mine is 5800xm), device reboots when main.cpp calls "w.show()" or "w.showMAximize()"

    Remove the call :
    Code:
    setCentralWidget(label1);
    and it does not crash!!!!!!

    (qt crerator= 4.7.0, qt=4.6.3)

    PS: i just noticed that the Nokia Qt SDK comes with Qt 4.7.0, BUT THE PROVIDED SIS FILE INSTALLS ONLY Qt 4.6.3!!!!!!!!!!
    Last edited by gardiol; 2010-07-07 at 15:36.

  2. #2
    Nokia Developer Champion danhicksbyron's Avatar
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209
    Never heard of that problem before, and kind of hard to see how it could happen, unless you're somehow using up memory, blowing the stack, etc.

  3. #3
    Registered User gardiol's Avatar
    Join Date
    Jul 2010
    Posts
    99
    Yes, the problem is exactly Qt mismatch.

    The Nokia Qt SDK 1.0 is provided with Qt 4.7.0, but the only provided SIS file installs Qt 4.6.0(3), this leads to the crashes! You have to manually download Qt 4.7.0 install it, get the Qt SIS runtime and install on the phone.

    Honestly, this Nokia Qt SDK is the most buggy, incomplete and awfull piece of software i stumbled upon lately. Dont get me wrong, i love it, but man, please so many bugs, "missing things" and such that setting it up is a real PAIN.

    (i am referring to the QTSDK98 bug, to this Qt mismatch problem, the QtMobility problem, the Location bug and so on...)

  4. #4
    Registered User gardiol's Avatar
    Join Date
    Jul 2010
    Posts
    99
    Well, actually, the problem is NOT solved, yet.
    Partially, it is solved....
    but still crash...

    Why is Nokia releasing this Qt SDK if it is not yet usable?

  5. #5
    Nokia Developer Moderator divanov's Avatar
    Join Date
    Oct 2009
    Posts
    4,326
    In Nokia Qt SDK you can choose between Qt 4.7 and Qt 4.6.x, when selecting a target. Qt 4.7 is experimental.

  6. #6
    Registered User gardiol's Avatar
    Join Date
    Jul 2010
    Posts
    99
    How do you choose? I cannot find where i can do this selection...

  7. #7
    Registered User gardiol's Avatar
    Join Date
    Jul 2010
    Posts
    99
    And more, if this is the case, Why do i keep crashing on the phone? I mean, phone reboots....

  8. #8
    Registered User TimsonC2000's Avatar
    Join Date
    Apr 2009
    Posts
    32
    For me it sounds that the installed Qt version on the device is corrupt. Please remove all Qt things on your device and install the provided sis files from the Nokia Qt SDK ( C:\NokiaQtSDK\Symbian\sis )


    Code:
    #include "mainwindow.h"
    
    #include <QLabel>
    
    MainWindow::MainWindow(QWidget *parent) :
        QMainWindow(parent)
    {
        setCentralWidget(new QLabel(
                QString("it is working and on Symbian it is: %1").arg(qVersion()))
                         );
    }

  9. #9
    Nokia Developer Moderator divanov's Avatar
    Join Date
    Oct 2009
    Posts
    4,326
    Quote Originally Posted by gardiol View Post
    How do you choose? I cannot find where i can do this selection...
    http://www.forum.nokia.com/info/sw.n...ia_Qt_SDK.html
    Section 4.3.

Similar Threads

  1. 6280 Device Crash
    By AdyW_RP in forum General Development Questions
    Replies: 11
    Last Post: 2007-08-16, 14:26
  2. Device crash
    By engrsanjiv in forum Symbian C++
    Replies: 2
    Last Post: 2004-02-21, 12:07
  3. device crash
    By pranavdesai1 in forum Symbian C++
    Replies: 0
    Last Post: 2004-02-17, 16:50
  4. device crash
    By pranavdesai1 in forum Mobile Java General
    Replies: 0
    Last Post: 2004-02-17, 16:48

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved