As I know I can use the
Qt Code:
  1. uic3 qt3file.ui ../header/header.h
To copy to clipboard, switch view to plain text mode 
Qt Code:
  1. uic3 -impl qt3file.ui ../impl/source.cpp
To copy to clipboard, switch view to plain text mode 
Qt Code:
  1. uic3 -convert qt3file.ui qt4file.ui
To copy to clipboard, switch view to plain text mode 

to do the conversion.

However I found that there are always errors during the conversion, no matter during the generation of .h file or .cpp file or during the conversion of .ui file.

Can anyone tell me how can I solve the errors?
Should I change codes in the .ui file (XML file)?
or there is other tools helpful for me?

Here is some examples of the errors
Qt Code:
  1. uic3: property `paletteForegroundColor' for widget `OK' of type `QPushButton' is not supported. Line: 18 Column: 32
  2. uic3: flag 'AlignAuto' for widget 'QLineEdit' is not supported
  3. keyboard.ui: An invalid pixmap property 'icon' was encountered.
To copy to clipboard, switch view to plain text mode