operating system : windows Xp
version : Qt 4.1
compiler : MinGW


hai all,
1) designed a simple application with gui in mainwindow having comboBox in it.
2) i wrote main as follow

Qt Code:
  1. #include "ui_test1.h"
  2. #include <QApplication>
  3. #include <QtGui/QtGui>
  4. int main(int argc, char *argv[])
  5. { QApplication app(argc, argv);
  6. QDialog *window = new QDialog;
  7. Ui::Dialog ui;
  8. ui.setupUi(window);
  9. ui.comboxBox->addItem(tr("123"));
  10. window->show();
  11. return app.exec();
  12. }
To copy to clipboard, switch view to plain text mode 
3)i did qmake -project
then qmake test1.pro
then make
3.1) when i make , i was getting an error that
" tr funtion undeclared first use the function"

have i made any mistake in the above code??

basha

A FRIEND IS IN NEED.