Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. First impressions of Qt Quick on Symbian
Forum Updated to NodeBB v4.3 + New Features

First impressions of Qt Quick on Symbian

Scheduled Pinned Locked Moved QML and Qt Quick
6 Posts 3 Posters 4.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    johnk
    wrote on last edited by
    #1

    Hello,

    Nokia recently released "Qt 4.7":http://labs.qt.nokia.com/2010/09/21/qt-4-7-0-now-available/ including Qt Quick. I wasn’t expecting it out until theirconference next month. So I had to kick the tires. I simply build their flickr demo and ran it on a 5800. It looks good. You’ll find it in the SDK directory look under demos/embedded/qmlflickr.

    I'm sure everyone here knows this but I wanted to share a few nits which got in the way.

    First remember you’ll need the Qt Libarires 4.7.0 for Symbian. On desktop systems, we use the qmlviewer to run Qt Quick programs. On Symbian, we use "QDeclarativeView":http://doc.qt.nokia.com/4.7-snapshot/qdeclarativeview.html and associate the main QML source with it.

    One small rub, I needed to update the .pro file to copy the source to the mobile.

    @qmlfiles.sources = $$QT_SOURCE_TREE/demos/declarative/flickr/flickr.qml
    qmlfiles.path = .
    commonDir.sources = $$QT_SOURCE_TREE/demos/declarative/flickr/common/
    commonDir.path = .
    mobileDir.sources = $$QT_SOURCE_TREE/demos/declarative/flickr/mobile/
    mobileDir.path = .
    DEPLOYMENT += qmlfiles commonDir mobileDir
    @

    Is there a simpler or bester way to copy the scripts to the mobile?

    -jk

    1 Reply Last reply
    0
    • T Offline
      T Offline
      thorbjorn
      wrote on last edited by
      #2

      That's the way it works for Symbian, and I don't think there is a simpler way at the moment.

      If you use a snapshot Qt Creator 2.1 you can try the QML Application wizard, which will create the necessary qmake magic to allow deployment to Symbian and Maemo. It's somewhat of a hack, because qmake itself has no proper cross-platform solution for deployment at the moment.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        alexander
        wrote on last edited by
        #3

        Another way - try to include qml file to .qrc

        1 Reply Last reply
        0
        • T Offline
          T Offline
          thorbjorn
          wrote on last edited by
          #4

          Right, that also works, but it's more resource-intensive. It's good for when the amount of resources is low though.

          1 Reply Last reply
          0
          • A Offline
            A Offline
            alexander
            wrote on last edited by
            #5

            Yes, I agree with Thorbjørn Lindeijer, the best choice is version 2.1 (from gitoriuos :)

            1 Reply Last reply
            0
            • A Offline
              A Offline
              alexander
              wrote on last edited by
              #6

              Thorbjørn Lindeijer, yes, but it's enough for testing.

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved