Qml in Symbian S60 5th



  • I use QT Creator and developed an application using Qt 4.7.3 with QML.
    How do I work on phones with Symbian S60 5th?



  • Symbian S60 5th only support Qt 4.7.2 (Experimental) and Qt Mobility 1.1.1

    !http://realnorth.net/share/qt472.jpg(Qt and Symbian S60 5th)!



  • Compile it using Symbian ^1 option in the remote compiler, it is supposed to be used for S60V5 mobiles with Touch screen (correct me if I'm wrong). But it will work in Non touch S60V5 mobiles also. All you have to do is to make it keyboard navigation compatible.

    You have to add these lines in your pro file:
    @
    symbian {

    Remove all the existing platform dependencies

    default_deployment.pkg_prerules -= pkg_platform_dependencies

    Add a dependency for just Symbian^1 and later devices

    supported_platforms = \

    "; Application supports Symbian^1" \

    "[0x1028315F], 0, 0, 0, {"Symbian^1"}"

    my_deployment.pkg_prerules += supported_platforms

    DEPLOYMENT += my_deployment

    }

    @

    The credit goes to the actual author. "Click here.":http://talvbansal.com/2011/06/09/s60v5-apps-failing-ovi-store-qa/

    The process is explained clearly.



  • That's good to know, thanks for sharing raja26



  • My problem was with the device.
    Thanks to the paulo and raja.
    I compile in Qt 4.7.3 with QML and works.

    But I would like to make Qt Quick work in qt S60 5th, because work with PageStack.



  • Happy that I shared something useful. QML will work with any 4.7.x version of Qt. And I don't understand what do you mean by this

    bq. But I would like to make Qt Quick work in qt S60 5th, because work with PageStack.

    Do you mean, using the Qt Symbian components?.



  • Yes, i am using Qt Symbian components.



  • There might be something to get Symbian components work with the real device, but I too tried and didn't get it working.

    The Debug message says it cannot import Symbian.Components1.1. Sorry I can't help you here.



  • Hi,
    [quote author="cobaltobr" date="1316729300"]My problem was with the device.
    Thanks to the paulo and raja.
    I compile in Qt 4.7.3 with QML and works.

    But I would like to make Qt Quick work in qt S60 5th, because work with PageStack.[/quote]

    Have you considered to install from the pc the Qt Quick components and Qt that you find from Windows program menu Qt SDK / Symbian^1 4.7.3 menu on your device? These are the components needed (it includes mobility, qt quick if you have installed it etc.) Then to release the application running on other devices than your development unit you should create a SmartInstaller version that is a bigger .sis including the needed components for your Symbian version.


Log in to reply
 

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