Qt for Symbian and the Nokia Smart Installer (beta)
February 15, 2010 by Espen Riskedal | Comments
Qt 4.6.2 is released, and in addition to all the bug fixes in it, we've also snuck in a feature or two, especially for the Symbian platform. One of interest is the ability for Qt to make use of the beta version of the Nokia Smart Installer, which makes it easier to deploy your Qt application to Symbian phones.
Using the Nokia Smart Installer
This is how you make use of it in short:
- Download and install Qt for Symbian 4.6.2
- Download the Nokia Smart Installer v 0.9 (beta)
- Unzip it on top of your installed Qt for Symbian folder
- Code your cool mobile application
qmake && make release-gcceto create
make sisto create
make installer_sisto create
- You have an application ready for deployment!
When the user now installs
yourapp_installer.sis on their phone, the Smart Installer will go on-line and get all the dependencies that your Qt application requires, typically Qt and QtWebkit + Open C. If these packages are already installed on the phone, the Smart Installer does nothing. So, it is a little bit like an "apt-get for Symbian" has been wrapped around your application. See below for a nice drawing of how it all works (click for full size).
The benefit of such a binary is twofold. It ensures the phone gets the up to date and correct versions of Qt and its dependencies, and it also dramatically reduces the file size of the application you are shipping.
Trying it out
If you're an impatient person and just want to try out how an application using the Smart Installer works, then click the link under the image below. It will install the Qt demos (fluidlauncher and the other demos and examples) using the Smart Installer on your phone.
Tip: To get less prompts when installing, sign your app properly. Go to symbiansigned.com and Express Sign
yourapp.sis, then wrap it with the Smart Installer and Express Sign
yourapp_installer.sis as well. The example above still has fluidlauncher self-signed, so there are more prompts than needed. At the moment, if everything is properly signed you are looking at five prompts for the user to answer - and we're working on getting that down to only two or three.
If you have trouble using the Smart Installer, go to qt.nokia.com/phonedemos and you can download the Qt demos where all dependencies are included in one big package and no network access from the phone is required.
It's still in beta!
Now the Nokia Smart Installer for Symbian is still in beta, but we want you to try it out. At the moment it won't be possible to get any "smart" Qt applications into the Ovi Store - but it is just a matter of time before that becomes possible.
Stability wise it works pretty well on the 3.2 and 5.0 phones we've tested (5800, N78, N97 mini etc.) but we've had some issues with some of our N95s where wlan fails in mid-download. Please test and give feedback to the developers in this forum. We want to hear about any usability as well as functional issues you discover.
EPL release and the Symbian Foundation
The Nokia Smart Installer for Symbian is not directly developed by the Qt developers, but we're helping out the team in Finland/India with patches and QA. At the moment the code is not yet available for download - but we are in the process of preparing the code for contribution to the Symbian Foundation, so this should be resolved shortly.
Subscribe to our newsletter
Try Qt 6.4 Now!
Download the latest release here: www.qt.io/download.
Qt 6 is the productivity platform for the future, with next-gen 2D & 3D UX and limitless scalability.
Explore Qt World
Check our Qt demos and case studies in the virtual Qt World
Check out all our open positions here and follow us on Instagram to see what it's like to be #QtPeople.
Näytä tämä julkaisu Instagramissa.
Want to build something for tomorrow, join #QtPeople today! We have loads of cool jobs you don't want to miss! http://qt.io/careers #builtwithQt #software #developers #coding #framework #tool #tooling #C++ #QML #engineers #sales #tech #technology #UI #UX #CX #Qt #Qtdev #global #openpositions #careers #job
Henkilön Qt (@theqtcompany) jakama julkaisu