If the upgrade from Play Store doesn't work then download and install from Kodi site:
https://kodi.tv/download/
http://mirrors.kodi.tv/releases/android/arm/kodi-16.0-Jarvis-armeabi-v7a.apk
All you need to do is download the apk file onto your Q5/Q10 (using Chrome on Q5/Q10 is easiest) and run the file. It will install like an app from Play Store.
In theory you should be able to upgrade from Play Store, but a lot of people (on any Android hardware) have problems with it not working.