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. OSX/MacOS qmake VERSION in *.pro file not showing up in app bundle
Forum Updated to NodeBB v4.3 + New Features

OSX/MacOS qmake VERSION in *.pro file not showing up in app bundle

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 1 Posters 563 Views 1 Watching
  • 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
    VRHans
    wrote on last edited by
    #1

    The environment variable $CURRENT_VERSION is set to 1.0.0.0

    In my pro file I define:

    The application version

    VERSION = $$(CURRENT_VERSION)

    On Windows, I get a binary with the proper version number.
    On Linux, I get a binary with the proper version number.
    On OSX, I get an app bundle with a default plist inside of it that doesn't have a version key.

    I'm not specifying a plist file to use, so qmake is creating its own (which is what I want) - but it appears to be failing to set the version information in the plist file.

    I've been googlin' and not finding anything.

    Is there some define I should be using to get qmake to put version info in the plist it creates?

    Again, it works on Windows and Linux with exactly the same pro file.

    Thanks!

    1 Reply Last reply
    0
    • V Offline
      V Offline
      VRHans
      wrote on last edited by
      #2

      I guess I'll just make a custom plist, link qmake to it and put the short version in there... Is that something people usually do or is there another/better way? Thx :)

      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