PDA

View Full Version : port ui file with qt3support to qt4 ??



darshan.hardas
26th October 2007, 07:49
Im having a large app n I want to port it to qt4.
Many of the ui file can be opened in qt4 designer as they are having qt3 support
Now I want to get rid of qt3 support.
Is there any tool (like qt3to4) to port ui file to qt4 with no qt3 support.

I have used uic3 but it only port qt3 to qt4 equivalent with qt3 support.

Can any one help me ??? :confused:

ashukla
26th October 2007, 08:15
Im having a large app n I want to port it to qt4.
Many of the ui file can be opened in qt4 designer as they are having qt3 support
Now I want to get rid of qt3 support.
Is there any tool (like qt3to4) to port ui file to qt4 with no qt3 support.

I have used uic3 but it only port qt3 to qt4 equivalent with qt3 support.

Can any one help me ??? :confused:
Dear!
No! It is not available.
If you don't want to Qt3Support; You should open your corresponding Qt3 ui files in Qt4 and change widgets to corresponding Qt4 widgets (that uses q3 support) and changes corresponding functions in your .cpp files!
b/z A big difference exsists b/w Qt3 structure & Qt4 structure. So, you are facing problem.
Using with Qt3 support you must change some codes in your .cpp files.

In my view If You are porting any app from Qt3 to Qt4 direct use Qt4 widgets & their functions. for example Qt3, Qt3Support and Qt4 widgets functions are different in some or more cases.

with regards!