I am now porting some .ui files from QT3 to QT4.
Say, I have a filter.ui.
I first used the uic3 to do the conversion
uic3 -convert filter.ui > filter4.ui
However, there are lots of errors like
uic3: slot `fileNew()' for widget `filter' of type `Q3MainWindow' is not supported
.
.
.
.
.
.
And I found that when I try to open the file filter4.ui in Designer, it prompts me that can't create widget for QMainWindow, QMenuBar, QToolBar.
After studying the XML, I found that the structure for menubar and toolbar changed a lot.

How can I convert this?