Results 1 to 7 of 7

Thread: how to add version information to my program?

  1. #1
    Join Date
    Jul 2008
    Posts
    33
    Thanks
    7
    Qt products
    Qt4
    Platforms
    Windows

    Smile how to add version information to my program?

    hello,
    I want to add version information to my program,but I donot known how to do.
    please help me,thanks!

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: how to add version information to my program?

    [WIKI]Version numbering using QMake[/WIKI]
    J-P Nurmi

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

    yleesun (10th October 2008)

  4. #3
    Join Date
    Aug 2006
    Posts
    221
    Thanks
    3
    Thanked 29 Times in 19 Posts

    Default Re: how to add version information to my program?

    Make your program listen to a socket. Whenever a client connects to the socket end sends 'Please tell me what version you are' send back something like '1.0' or '99.3'.

    Serious, not much information you give us here. What program? Command line? GUI? Or do you mean you want the build process automatically increase the version number?

  5. The following user says thank you to Kumosan for this useful post:

    yleesun (10th October 2008)

  6. #4
    Join Date
    Jul 2008
    Posts
    33
    Thanks
    7
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: how to add version information to my program?

    thanks you all
    I have tried using qmake ,but it is not what i want.
    my program is an app,I mean that when the app was compiled ok ,it could show version information in tooltip when mouse was on the icon.
    Using MFC could achieve this by adding version resource.
    Last edited by yleesun; 10th October 2008 at 03:07.

  7. #5
    Join Date
    Oct 2008
    Posts
    5
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: how to add version information to my program?

    The answer by the FAQs of Trolltech didn't make much sense to me, but I hope it helps:

    http://trolltech.com/developer/faqs/...ion%20to%20exe

  8. The following user says thank you to QwertyManiac for this useful post:

    yleesun (10th October 2008)

  9. #6
    Join Date
    Jul 2008
    Posts
    33
    Thanks
    7
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: how to add version information to my program?

    It did not make much sense to me too.
    I use resource file to add icon ,but i donot known how to add version information.

  10. #7
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: how to add version information to my program?

    How about searching Google for something like "windows resource file version"?
    J-P Nurmi

Similar Threads

  1. Designer doesn't load wwWidgets plugin
    By reimer in forum Installation and Deployment
    Replies: 21
    Last Post: 7th February 2009, 03:23
  2. Distributing QT application for Mac OS
    By mb0 in forum Qt Programming
    Replies: 1
    Last Post: 31st May 2007, 18:59
  3. KDE/QWT doubt on debian sarge
    By hildebrand in forum KDE Forum
    Replies: 13
    Last Post: 25th April 2007, 06:13
  4. Replies: 15
    Last Post: 21st April 2007, 17:46
  5. QT MySQL
    By sabeeshcs in forum Newbie
    Replies: 6
    Last Post: 12th January 2007, 04:19

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.