Results 1 to 3 of 3

Thread: How to show version info by right clicking a Qt executable file in Linux?

  1. #1
    Join Date
    Apr 2011
    Posts
    231
    Thanks
    141
    Thanked 6 Times in 5 Posts

    Default How to show version info by right clicking a Qt executable file in Linux?

    Have seen this thread: http://stackoverflow.com/questions/2...nfo-in-qt?lq=1
    But they have done it on Windows.

    What should I do to achieve the same effect on Linux.

    I want to right click the executable of my Qt project and see a version number there.

  2. #2
    Join Date
    Oct 2009
    Posts
    483
    Thanked 97 Times in 94 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How to show version info by right clicking a Qt executable file in Linux?

    I do not believe the same thing can be done on Linux because such information is not part of the ELF binary format. However, desktop environments usually invoke user applications through .desktop files -- that share some similarity with Windows' shortcuts -- which can specify things like an application name and a version. You can check out the spec of this format, or Google for some tutorials on how to bundle them with your app.

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

    TheIndependentAquarius (18th July 2014)

  4. #3
    Join Date
    Apr 2011
    Posts
    231
    Thanks
    141
    Thanked 6 Times in 5 Posts

    Default Re: How to show version info by right clicking a Qt executable file in Linux?

    Thankfull for the info.

Similar Threads

  1. How can we get file version information in Linux?
    By payal in forum Qt Programming
    Replies: 2
    Last Post: 11th February 2010, 16:46
  2. version info
    By roxton in forum Qt Programming
    Replies: 1
    Last Post: 1st May 2008, 15:22
  3. File version info
    By johncharlesb in forum Qt Programming
    Replies: 1
    Last Post: 19th October 2007, 03:59

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.