realXtend / tundra

realXtend Tundra SDK, a 3D virtual world application platform.
www.realxtend.org
Apache License 2.0
84 stars 70 forks source link

Migrate from Qt 4 to Qt 5 #662

Open peterclemenko opened 11 years ago

peterclemenko commented 11 years ago

QT 5.1 adds basic support for Android and iOS. It would be wise to begin to port from Qt 4 to Qt 5 to be able to use the newest Qt functionality including Android and iOS support.

peterclemenko commented 11 years ago

This is related to issue #586 .

jonnenauha commented 11 years ago

Qt 5.1 does not yet give good iOS and Android solutions, in terms of packaging your app to a .apk etc. For Android it seems to use the exact same ministro stuff as before, and the Tundra Android build is already using that. Using 5.1 would probably not remove all the problems we have with it.

Jumping to Qt 5.x on the desktop side will give us a big pile of dependency and other problems we need to figure out. I'd say once the Android/iOS stuff in a future Qt release gets sorted out it might be worth going there, but currently on the desktop side Qt 5 does not really provide anything that big if we are going to still use QWidgets via QtGui and the old QtScript module.

I've actually started building Qt 5 for Tundra when 5.0 released, but i got stuck with Qt related script plugins that are maintained by Qt folkds but have not been updated to work with 5.x. This breaks all our js scripting if the full Qt cannot be exposed there. There is an interesting fork here https://github.com/svalaskevicius/qtscriptgenerator that claims it works with Qt 5, I havent tested it yet.