Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [solved]app installer version in symbian
Forum Updated to NodeBB v4.3 + New Features

[solved]app installer version in symbian

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 1 Posters 1.7k 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.
  • O Offline
    O Offline
    owenzhao
    wrote on 23 Mar 2012, 01:56 last edited by
    #1

    I have packaged my app with smart installer. Then I get a xxx_installer.sis
    In my app, I use
    @app->setApplicationVersion("1.5");@
    in my main.cpp file.

    However, when I install it in my Nokia N8. It still shows version 1.0. Where should I change to let it shows version 1.5 when I installed it in my phone?

    Thank you.

    [edit: fixed typo in title, eddy]

    1 Reply Last reply
    0
    • O Offline
      O Offline
      owenzhao
      wrote on 24 Mar 2012, 05:51 last edited by
      #2

      Here is the answer.
      http://www.developer.nokia.com/Community/Discussion/showthread.php?214644-Specifying-version-number-in-Qt-Creator.

      add this in you app.pro file
      see the last line
      @symbian {
      TARGET.CAPABILITY += NetworkServices

      my_deployment.pkg_prerules += vendorinfo
      
      DEPLOYMENT += my_deployment
      
      DEPLOYMENT.display_name += myapp
      
      vendorinfo += "%{\"mycompany\"}" ":\"mycompany\""
      
      VERSION = 1.5.0
      

      }@

      1 Reply Last reply
      0

      1/2

      23 Mar 2012, 01:56

      • Login

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