/**************************************************************** * ** * ** Qt tutorial 1 * ** * ****************************************************************/ #include #include int main( int argc, char **argv ) { QApplication a( argc, argv ); QPushButton hello( "Hello world!", 0 ); hello.resize( 100, 30 ); // QChar letter = 'क'; // QChar letter ='१'; QChar letter = '0x0915'; fprintf(stdout,"%d\n", letter.isLetter()); a.setMainWidget( &hello ); hello.show(); return a.exec(); }