×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Dec 2008
    Posts
    101

    QMainWindow kern - exec3 panic

    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
    Join Date
    Jul 2007
    Posts
    26

    Re: QMainWindow kern - exec3 panic

    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
    Join Date
    Dec 2008
    Posts
    101

    Re: QMainWindow kern - exec3 panic

    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
    Join Date
    Dec 2008
    Posts
    101

    Re: QMainWindow kern - exec3 panic

    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
    Replies: 6
    Last Post: 2010-01-12, 21:08
  2. KERN-EXEC3 in CAknAppUi::HandleResourceChangeL()
    By peter.carpenter in forum Symbian
    Replies: 14
    Last Post: 2009-11-04, 03:40
  3. Showing KERN-EXEC3 panic Problem
    By saimram in forum Symbian
    Replies: 1
    Last Post: 2008-02-12, 05:38
  4. Replies: 2
    Last Post: 2007-10-10, 09:04

Posting Permissions

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