Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor mj_124949727@126.com's Avatar
    Join Date
    Dec 2008
    Posts
    101
    i use carbide 2.3 wizzard create a qt project , a simple main windows , when it run at emulator ,i choose 'tools - switch configuration' menu item , the exe show 'kern exec3'

    #include <QtGui>
    #include <QApplication>

    int main(int argc, char *argv[])
    {
    QApplication a(argc, argv);
    qtt6 w;
    w.showMaximized();
    return a.exec();
    }

    class qtt6 : public QMainWindow
    {
    Q_OBJECT

    public:
    qtt6(QWidget *parent = 0);
    ~qtt6();

    private:
    Ui::qtt6 ui;
    QLineEdit *edit;
    };

    qtt6::qtt6(QWidget *parent)
    : QMainWindow(parent)
    {
    ui.setupUi(this);

    // only add a edit
    edit = new QLineEdit("this is a line text", this);
    edit->setGeometry(0, 80, 360, 40);
    }

    qtt6::~qtt6()
    {

    }

  2. #2
    Registered User digitalsurgeon's Avatar
    Join Date
    Jul 2007
    Posts
    26
    Your code seems to be ok. Can you find out where exactly the crash is happening. Seems like some window resize / orientation issue.

    Are you using any layouts in your .ui file ?

  3. #3
    Regular Contributor mj_124949727@126.com's Avatar
    Join Date
    Dec 2008
    Posts
    101
    my .ui file is nothing

    i use wizzard create a other project, this project i write nothing , only add a QLineEdit use 'qt c++ widget box' on .ui file ,
    this 'kern exe3' still show ,

    is emulator question ? my c++ sdk n97 and qt 4.6.3
    i think i do right .

  4. #4
    Regular Contributor mj_124949727@126.com's Avatar
    Join Date
    Dec 2008
    Posts
    101
    i use sdk s60 v3 fp2 and qt sdk 4.6.3
    same code project run is ok. 'kern exe3' not show.

Similar Threads

  1. KERN-EXEC3 when 2 program are running...
    By Lucchesi in forum Symbian C++
    Replies: 6
    Last Post: 2010-01-12, 21:08
  2. KERN-EXEC3 in CAknAppUi::HandleResourceChangeL()
    By peter.carpenter in forum Symbian C++
    Replies: 14
    Last Post: 2009-11-04, 03:40
  3. Showing KERN-EXEC3 panic Problem
    By saimram in forum Symbian C++
    Replies: 1
    Last Post: 2008-02-12, 05:38
  4. CActiveSchedulerWait, Start() Panic- KERN-EXEC3,3rd Ed
    By cleanupstack in forum Symbian C++
    Replies: 2
    Last Post: 2007-10-10, 09:04
  5. Replies: 6
    Last Post: 2006-05-29, 18:00

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