PDA

View Full Version : Ui problem of QT3 porting to QT4



batileon
6th June 2008, 05:48
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?

triperzonak
12th June 2008, 10:31
their are changes from qt3 to qt4, i think what you should do is to manually port it. Some widgets and class are modified/change/remove to qt4 so porting .ui's from qt3 to qt4 may have errors.