Results 1 to 2 of 2

Thread: Application version

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2010
    Posts
    107
    Thanks
    22
    Qt products
    Qt4
    Platforms
    Windows

    Default Application version

    Hi
    I have made an application and now want to provide a 'Help->About' message box.
    In this message box I want to display some version information.

    Is there a recommended way to do this?
    I see I can put VERSION=x.x.x into the .pro file but don't know how (or if) I can access this from within my code

    TIA

    Graham

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Application version

    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  3. The following user says thank you to high_flyer for this useful post:

    GrahamLabdon (24th February 2011)

Similar Threads

  1. Problem with release version of application
    By askrina in forum Installation and Deployment
    Replies: 4
    Last Post: 20th April 2010, 18:16
  2. How to make MAC version of Windows QT application
    By qtUser500 in forum Installation and Deployment
    Replies: 2
    Last Post: 8th October 2009, 14:27
  3. Replies: 5
    Last Post: 5th June 2009, 10:07
  4. Problem with application version and icon
    By cutie.monkey in forum Qt Programming
    Replies: 3
    Last Post: 18th December 2008, 01:22
  5. How can I know the version of my application? [Qt3]
    By Opilki_Inside in forum Qt Programming
    Replies: 10
    Last Post: 5th June 2006, 08:09

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.