Qt 4.8.5 or 5.1?



  • Hi All,

    I am currently using Qt 4.6. There are several issues I faced in 4.6 like restoring window and state etc. Now thinking to update Qt version but getting confused which version should I opt for Qt 4.8.5 or 5.1 ?
    Could you please help me to decide which version should I update. I am using qt with visual studio.


  • Moderators

    An update to Qt 4.8.5 should be completely painless, it is fully compatible. So you can do this more or less instantly.

    Qt 5 introduced many changes, new dependencies, some classes were deprecated, moved or removed. The transition is - in most cases - not very hard (for a huge project of several hundred kLOC it took me like 2 hours), but it is a harder operation.

    So my recommendation would be to update to Qt 4.8.5 right away (BTW. Qt 4.8.6 will be released in a couple of weeks). Then, if you have some spare time, try porting to Qt5 (see "the porting guide":http://qt-project.org/doc/qt-5.1/qtdoc/portingguide.html). If you are happy with the results, you can do the official move.



  • Thanks Sierdzio.
    [quote author="sierdzio" date="1386001819"]An update to Qt 4.8.5 should be completely painless, it is fully compatible. So you can do this more or less instantly.

    Qt 5 introduced many changes, new dependencies, some classes were deprecated, moved or removed. The transition is - in most cases - not very hard (for a huge project of several hundred kLOC it took me like 2 hours), but it is a harder operation.

    So my recommendation would be to update to Qt 4.8.5 right away (BTW. Qt 4.8.6 will be released in a couple of weeks). Then, if you have some spare time, try porting to Qt5 (see "the porting guide":http://qt-project.org/doc/qt-5.1/qtdoc/portingguide.html). If you are happy with the results, you can do the official move.[/quote]


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.