Results 1 to 5 of 5

Thread: Symbian On-Device Debugging

  1. #1
    Join Date
    Oct 2010
    Posts
    10
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows Symbian S60

    Default Symbian On-Device Debugging

    Hello QTs,

    i am absolutley new to QT but have some C++ experience.

    The problem is:

    I installed QT 4.7 and tested succesfully some simple forms on the Emulator.
    So far, so good.

    Next I installed the qt*.sis files on my E72 to check it on the real thing.
    It did'nt work out.

    Then I compiled an empty form and it worked on the device !

    Finally a pushbutton was added to the form, but app the terminated immediately.

    I never give up: I deleted the the text from the pushbutton, compiled again and
    the "app" runs on the E72.

    Why is the app/form terminating withn the labeled pushbutton ?

    Thanks in advance.

  2. #2
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Symbian On-Device Debugging

    May be some error..
    Can you show the code ?

  3. #3
    Join Date
    Oct 2010
    Posts
    10
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows Symbian S60

    Default Re: Symbian On-Device Debugging

    Thanks for your swift response.

    There's no code beside the QT generated.

    It's just a simple form with a pushbutton.

    I added no extra code to keep it simple.

    I guess it can be only a setup problem. Did reinstall, but to no avail.


    #ifndef MAINWINDOW_H
    #define MAINWINDOW_H

    #include <QMainWindow>

    namespace Ui {
    class MainWindow;
    }

    class MainWindow : public QMainWindow
    {
    Q_OBJECT

    public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

    private:
    Ui::MainWindow *ui;
    };

    #endif // MAINWINDOW_H


    #include <QtGui/QApplication>
    #include "mainwindow.h"

    int main(int argc, char *argv[])
    {
    QApplication a(argc, argv);
    MainWindow w;
    #if defined(Q_WS_S60)
    w.showMaximized();
    #else
    w.show();
    #endif

    return a.exec();
    }

    #include "mainwindow.h"
    #include "ui_mainwindow.h"

    MainWindow::MainWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::MainWindow)
    {
    ui->setupUi(this);
    }

    MainWindow::~MainWindow()
    {
    delete ui;
    }

  4. #4
    Join Date
    Sep 2010
    Location
    Ontario Canada
    Posts
    23
    Thanks
    5
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Symbian S60 Maemo/MeeGo

    Default Re: Symbian On-Device Debugging

    Hi Granty,
    Qt 4.7 is not yet supported for Symbian, use 4.6.3 for now....
    See HERE for further information about 4.7 and Symbian.

    Cheers,
    Jon

  5. #5
    Join Date
    Oct 2010
    Posts
    10
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows Symbian S60

    Default Re: Symbian On-Device Debugging

    Thank you Jon !

    I'm beginning to understand.

    I wonder why there's no warning message which pops up after one's selected Symbian as the target device.

    It's not easy to set up good old 4.6.3 since many download links are broken, e.g. "Open C++ Plug-In". Too bad.

    Cheers,
    Granty

Similar Threads

  1. Need help in deploying the Qt app to real symbian device
    By baluk in forum Installation and Deployment
    Replies: 1
    Last Post: 1st October 2010, 19:28
  2. [Symbian] show device's menu within a fullscreen application
    By curreli in forum Qt for Embedded and Mobile
    Replies: 3
    Last Post: 12th September 2010, 07:54
  3. Replies: 1
    Last Post: 9th September 2010, 16:49
  4. Replies: 3
    Last Post: 6th September 2010, 23:00
  5. GL For Symbian
    By TJSonic in forum Qt for Embedded and Mobile
    Replies: 3
    Last Post: 21st June 2010, 23:43

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.