thanks so much now it correctly works, but when i compile my application i keep having this annoying massage:
Qt Code:
  1. default.h:48: warning: ‘greeting_string’ defined but not used
To copy to clipboard, switch view to plain text mode 
greeting_string is declared in this wy:
Qt Code:
  1. static const char *greeting_string = QT_TRANSLATE_NOOP( "mainWindow" , "Hello" );
To copy to clipboard, switch view to plain text mode 
and it's used in mainWindow.
thx