Qt 4.7 on Symbian^3 (as it is on N8)
OK, I just spent the whole day fighting this, so bear with me :-)
Isn't it possible to get Qt 4.7 running on the N8? I tried following "this forum nokia entry":http://developer.qt.nokia.com/forums/viewthread/843
After a long discussion with people on IRC, I learned that the version of Qt (from the above page) was compiled against was S60 rev 5, and that I cannot replace the Qt on my phone myself.
Does this mean that I cannot get a Qt 4.7.0 on my phone? My real aim is to play with QML on the phone, are there any other way around that?
As Qt 4.6.3 is part of the system firmware in Symbian^3, to change the version of Qt is not just a matter of installing a new package (AFAIK). I did not try to install 4.7 on N8, but I suppose the system will complain and the install is going to fail.
Alternatives?.... Hm.... A firmware update containing Qt 4.7 or a new package that do not conflict with Qt 4.6.3, part of the system, in an analog way of what happens on Maemo 5/N900 where you can install 4.7 along with the default 4.6.3. However, I have no clue about the equivalent of LD_LIBRARY_PATH on Symbian.
(Please, someone correct me. I really want to be wrong)
Hehe been trying to same thing today :)
The qt_installer.sis that comes with the 4.7.0 Symbian release gives an error when installing to C: (during PIPS, error code -10256), but didn't give an error when installing to E:. I don't know if it actually worked though, since I didn't get the SDK building for Symbian against 4.7 yet. Since they're not binary compatible, it must be possible to have multiple versions installed.
I don't know what the official roadmap is, but I really hope proper 4.7 support will come soon, with OpenGL and Qml support.
Another possibility is that 4.7 will come in a firmware update, which will be standard on the C7 and onwards, such that S^3 basically always includes 4.7, just that it didn't make it for the N8. (Don't know where S60 fits though).
See also: "http://discussion.forum.nokia.com/forum/showthread.php?210094-Clarification-on-Qt-4.7-for-Symbian-and-application-distribution-to-Ovi-store":http://discussion.forum.nokia.com/forum/showthread.php?210094-Clarification-on-Qt-4.7-for-Symbian-and-application-distribution-to-Ovi-store
[edit: fixed link / chetankjain]
As Anselmo hinted, S^3 devices such as the N8 come with Qt pre-installed. Sadly the version of Qt.sis that we distribute today is not sufficiently packaged for upgrading Qt on these devices so your options are:
Wait for Nokia to release an update containing Qt 4.7 (sorry I don't know the details here).
Build your own Qt from source in a different "suffix".
For 2) you need to configure Qt with the "-qtlibinfix <suffix>" option. This will produce binaries that are named QtCore<suffix>.dll instead of QtCore.dll. Installing this package would allow you to install this Qt alongside the existing Qt without interfering with it. This would give you an environment where you can test Qt 4.7 on the N8, but it wouldn't be suitable for depolyment.
Is Qt preinstalled in the ROM of the device??
Its likely that either PIPs or Qt SIS files don't match the ROM stub in terms of package name, UID or global vendor name (the reasons that an SA package can't be upgraded). The easiest quick fix would be for Nokia to upload a compatible version of the SIS files to the smart installer download site - then we could update by simply installing a Qt app with the correct dependencies listed.
More complicated approaches - rebuild the Qt SDK with the right binaries, add a compatible pkg stub on the device ROM in next firmware update.
In any case, this is either a phone or Qt defect, because upgrade between Qt minor versions is essential. Is there a defect in place to work out what the failing component is, and for what reason? If so, bug number please?
Tried to collect some answers here at the Developer Days. First of all, you indeed cannot replace the Qt on a Symbian^3 phone, unless you have Nokia's certificate (or a Nokia-signed certificate with sufficient power, which ordinary mortals like you and me have not). However, there will be a firmware update as part of the ordinary system software update soon ("rather weeks than months" was the expression used), and even before that, there will be a separate .sis package that is Nokia-signed and -certified, and that developers can install on their phones manually.
To allow us to track this problem, I have taken the liberty of submitting "bug 225":http://bugreports.qt.nokia.com/browse/QTSDK-225 .
[quote author="kalle" date="1286961288"]However, there will be a firmware update as part of the ordinary system software update soon ("rather weeks than months" was the expression used), and even before that, there will be a separate .sis package that is Nokia-signed and -certified, and that developers can install on their phones manually.[/quote]
Great news! kalle, did they say anything about making this separate .sis also available to download using the smart installer?
Greetings from Recife =)
"This post":http://wiki.forum.nokia.com/index.php/Qt_4.7_for_Symbian^3_-_developer_version has been all over my twitter feed this morning. Should be able to develop for 4.7 on Symbian^3 now.
latest lab blog post:
might interest you
[quote author="chetankjain" date="1292126609"]latest lab blog post:
might interest you [/quote]
Thank you for the link.
What about this article which is the same issue :
[quote author="qtrahul" date="1293272908"]What about this article which is the same issue :
Strongly recommend you to go through both the links and find for yourself what the difference is.