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 :)
3)i did qmake -projectCode:
#include "ui_test1.h" #include <QApplication> #include <QtGui/QtGui> int main(int argc, char *argv[]) Ui::Dialog ui; ui.setupUi(window); ui.comboxBox->addItem(tr("123")); window->show(); return app.exec(); }
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??:confused:
basha :)
A FRIEND IS IN NEED.