Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Change Application Version

    General and Desktop
    3
    3
    4700
    Loading More Posts
    • 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
      Vetryaspa last edited by

      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 Reply Quote 0
      • H
        Hostel last edited by

        You could add to the project header file with constants.

        1 Reply Last reply Reply Quote 0
        • L
          lgeyer last edited by

          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 Reply Quote 0
          • First post
            Last post