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. Qt VERSION
Forum Updated to NodeBB v4.3 + New Features

Qt VERSION

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 658 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.
  • B Offline
    B Offline
    bareil76
    wrote on last edited by
    #1

    Hi All,

    I have a simple problem, but cannot find a solution.

    I have this;

    VERSION = 2.0.1

    in my .pro file. However, I get 2.0.1.0 if I check the version with windows. How do I remove the last .0???

    Thanks

    1 Reply Last reply
    0
    • hskoglundH Offline
      hskoglundH Offline
      hskoglund
      wrote on last edited by
      #2

      Hi, it's hardwired in Windows that file versions consists of 4 16-bit numbers (actually 2 32-bit numbers: "file info struct":http://msdn.microsoft.com/en-us/library/windows/desktop/ms646997.aspx

      Anyway, conceptually 2.0.1 and 2.0.1.0 are regarded as identical, because even though 4 different numbers are always stored in your .exe file, trailing zeroes are supposed to be immaterial.

      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