It all depends on what classes and functions you used. You can manually run uic from on the .ui files, and use the header and cpp file form that, instead of the ui files.
If there is essential stuff from Qt 3 you need, you may have to import the classes from Qt3 to your project, which may be quite some work. It\'s best to go through your app, and use things from Qt/E2.