May be some error..
Can you show the code ?
May be some error..
Can you show the code ?
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;
}
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
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
Bookmarks