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()
{
}




