Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Upgrading old project to the newest version...



  • I have a 3.3.4 project that I am trying to import and update to the newest version. I cannot seem to find a ton of missing header files. Any ideas what would be the best way to fix this? I was able to update all of the UI files without issue. Any help would be greatly appreciated.

    Thanks...



  • welcome to devnet

    Did you see this "note for upgrading from Qt 3 to Qt 4":http://developer.qt.nokia.com/doc/qt-4.8/porting4-overview.html ?
    There is also a "porting tool listed":http://developer.qt.nokia.com/doc/qt-4.8/qt3to4.html
    "And some more is available ":http://developer.qt.nokia.com/doc/qt-4.8/porting.html

    [edit] link fixed



  • Thanks for the quick response and some great documentation. I have already resolved a few issues manually based on what I found. However, the second link, which I would love to see if it would fix all 500 of my errors at once...wouldn't that be great, does not seem to allow me access. When I use your third link, it brings me to the parent links and when I go to the porting tool link (the last on the page) there does not seem to be reference to the file/files in question? Or am I looking in the wrong place for this tool?

    Thanks again...



  • Oooops

    I have fixed the link. I do not know what happened, but it was definitely broken.

    BTW I have fund this through the doc page. I simply searched with "Qt 3". The entries are just the three first entries. There might be more valuable information.



  • Sorry to be such a noobie with this product, however, where would I find the qt3to4 file?

    Thanks...

    Nevermind...ha...duh...Thanks for being supportive to even the newest of us...

    Thanks...again.



  • qt3to4 is a command line tool shipped with every Qt library distribution (or automatically built if you compile the sources). It's usually in the very same bin directory where you can also find qmake. The actual path depends on the platform.


Log in to reply