Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Change Application Version
QtWS25 Last Chance

Change Application Version

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 4.9k Views
  • 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.
  • V Offline
    V Offline
    Vetryaspa
    wrote on last edited by
    #1

    Hi all guy,

    I have a little problem. I don't Know how Change the application version, I have think to add some type of string in the .pro file but i not have found this string, someone halp me?

    regard

    1 Reply Last reply
    0
    • H Offline
      H Offline
      Hostel
      wrote on last edited by
      #2

      You could add to the project header file with constants.

      1 Reply Last reply
      0
      • L Offline
        L Offline
        lgeyer
        wrote on last edited by
        #3

        There is no implicit application version, just one explicitly set using QCoreApplication::setApplicationVersion(), which takes any version information you provide. You might set "VERSION":http://doc.qt.nokia.com/4.7/qmake-variable-reference.html#version in your .pro file, but this information does not automatically populate applicationVersion.

        If we are talking about embedding version information into Windows application see "this":http://developer.qt.nokia.com/forums/viewthread/9922 thread.

        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