September 10, 2010

snowpong snowpong
Lab Rat
54 posts

Tip: Building QML apps for Symbian (Qt 4.7.0 RC1)

Page  
1

At the moment it’s not that easy to develop QML based apps for Symbian. The Nokia Qt SDK doesn’t include the latest Qt 4.7.0 RC1 for Symbian, and there is no qmlviewer.sis available either. So, what should one do if one wants to play around?

The easiest way at the moment (on Windows) seems to be:

  1. Install Nokia Qt SDK [forum.nokia.com]
  2. Instal Perl [activestate.com]
  3. Install S60 5.0 SDK [forum.nokia.com]
  4. Install Open C 1.7.5 [forum.nokia.com]
  5. Install Qt for Symbian 4.7.0 RC1 [get.qt.nokia.com]
  6. Copy the little wrapper code found in for example Qt/4.7.0-rc1-symbian/demos/embedded/qmlflickr
  7. Build your app with your now autodetected 4.7.0 RC1 in Qt Creator
  8. Go nuts

If anybody knows an easier way – feel free to share :)

The above works fine when making stuff for N97 or other 5.0 / Symbian^1 phones – if you’ve got an N8 (bastard) then I’m not sure if this still works, but I belive it does.

19 replies

September 10, 2010

Tobias Hunger Tobias Hunger
Mad Scientist
3150 posts

I promise that this will be way easier once the Nokia Qt SDK with Qt 4.7 ships! That will remove the need to do steps 2 to 5 as Qt 4.7 will come in a nice package.

If you are using Qt Creator from master then you might have noticed that it already includes a wizard to set up code similar to the one copied in step 6 for you.

We can not get rid of the building step for you, but I recommend skipping step 8 even at this time.

September 10, 2010

snowpong snowpong
Lab Rat
54 posts

Didn’t know about the Wizard Tobias, thanks for the tip.

As for step 8, it is not an optional step – it’s required! ;D

September 13, 2010

QtK QtK
Lab Rat
1140 posts

Tobias Hunger wrote:
I promise that this will be way easier once the Nokia Qt SDK with Qt 4.7 ships! That will remove the need to do steps 2 to 5 as Qt 4.7 will come in a nice package.

If you are using Qt Creator from master then you might have noticed that it already includes a wizard to set up code similar to the one copied in step 6 for you.

We can not get rid of the building step for you, but I recommend skipping step 8 even at this time.

Any idea when Nokia Qt SDK with Qt 4.7 is expected to ship.

September 13, 2010

Alexander Kuchumov Alexander Kuchumov
Lab Rat
377 posts

QtK, may be by Nokia Developer Days:)

September 13, 2010

Mattias Cibien Mattias Cibien
Lab Rat
66 posts

gonna check this out soon. Thank you!

 Signature 

http://mattias-cibien.co.cc
- Prepare for Qt consequences.

September 13, 2010

Tobias Hunger Tobias Hunger
Mad Scientist
3150 posts

QtK: Sorry, I am not involved with release planning. I do not know.

September 13, 2010

snowpong snowpong
Lab Rat
54 posts
QtK wrote:
Any idea when Nokia Qt SDK with Qt 4.7 is expected to ship.

My guess is not in several months actually. The N8 comes with 4.6 and I’m not sure they’ll update the Nokia Qt SDK before they’ve gotten upgrades for the N8 ready….

Or, they could start having both 4.6 and 4.7 included in the same Nokia Qt SDK – but that would mean a lot more work for them to build and package boths for the SDK

September 14, 2010

Mimik Mimik
Lab Rat
4 posts

Hello, My name is Igor, I have some trouble with QT :
device : Nokia 5800 Xpress Music,

Operation System : Windows 7 ×64 7600

Now im installed : Nokia QT SDK offline v1_0_en, Active Perl 5_12_2 Win7 X64,

C++ plugin;

When im compile my test project, when select Emulator in to Emul my program is work, but when compile release to device, Take error : “General Os Error”, when manual copy *.sis file to mobile and install Take error : “No QT Component found” and application not run…

September 14, 2010

Tobias Hunger Tobias Hunger
Mad Scientist
3150 posts

Mimik: Please open a new topic for your problem the next time. It is somewhat rude to hijack the problem somebody else has.

Your issue seems to be that no Qt is installed on your device.

September 14, 2010

Mimik Mimik
Lab Rat
4 posts

but, for work my programs, im must install QT to my mobile device???

September 14, 2010

Alexander Kuchumov Alexander Kuchumov
Lab Rat
377 posts

Use smartinstaller for creating your package (for symbian): qmake && make && make installer_sis

Maemo’s already had qt libraries.

September 14, 2010

anselmolsm anselmolsm
Ant Farmer
417 posts
Mimik wrote:
but, for work my programs, im must install QT to my mobile device???

For devices running Symbian versions prior to Symbian^3, yes, you must install Qt. Using smart installer makes the process (almost) transparent for users.

Again, open a new thread to discuss your issue, it’s not directly related with this one.

 Signature 

Anselmo L. S. Melo (anselmolsm)
www.anselmolsm.org

September 14, 2010

anselmolsm anselmolsm
Ant Farmer
417 posts
anselmolsm wrote:
Again, open a new thread to discuss your issue, it's not directly related with this one.

Sorry, I did not see that another thread was created [developer.qt.nokia.com] =P .

Let’s keep this one about QML, 4.7 on Symbian =)

 Signature 

Anselmo L. S. Melo (anselmolsm)
www.anselmolsm.org

September 22, 2010

pmalolepsy pmalolepsy
Lab Rat
1 posts

This shows me the 4.7 in the path and as a separate “desktop” build config, but if I want to build it for a symbian device, my only option is still the one that came with the Nokia SDK which is 4.6.3.

What am I doing wrong?

Also, since 4.7 came out today, how soon until we get a new Nokia SDK?

September 22, 2010

snowpong snowpong
Lab Rat
54 posts

pmalolepsy wrote:
This shows me the 4.7 in the path and as a separate “desktop” build config, but if I want to build it for a symbian device, my only option is still the one that came with the Nokia SDK which is 4.6.3.

What am I doing wrong?

Also, since 4.7 came out today, how soon until we get a new Nokia SDK?

Did you install all the parts above, and did you install them in that order?

This approach will work with the final release of 4.7.0 that just came out as well btw.

The Qt guys should reply as to when 4.7 gets into the Nokia Qt SDK

Page  
1

  ‹‹ Which solution is best to resize QToolButton full-width?      out of memory allocating 65536 bytes ››

You must log in to post a reply. Not a member yet? Register here!