Hi
how to use utf8 and rtl in qtopia aplication.
writing and testing this code but not working But working in my pc
#include <qapplication.h>
#include <qpushbutton.h>
#include <qfont.h>
#include <qlineedit.h>
#include <qdialog.h>
#include <qstring.h>
int main( int argc, char **argv )
{
QApplication a( argc, argv );
QDialog form1;
QPushButton quit( QString::fromUtf8("خروج"),
&form1,"quit" );
QPushButton clean( "Clean", &form1, "clean");
quit.resize( 75, 30 );
quit.setFont( QFont( "font/tahoma.ttf", 18, QFont::Bold ) );
line.setGeometry( QRect( 0, 0, 137, 25 ) );
quit.setGeometry( QRect( 7, 86, 60, 25 ) );
clean.setGeometry( QRect( 70, 86, 60, 25 ) );
QObject::connect( &quit, SIGNAL(clicked()), &a, SLOT(quit()) );
QObject::connect( &clean, SIGNAL(clicked()), &line, SLOT(clear()) );
a.setMainWidget( &form1 );
form1.show();
return a.exec();
}

