12-30-2013 06:15 PM
Is it possible to access the version number from within an app? If I for example wanted to display the version number on the about page.
Solved! Go to Solution.
12-30-2013 06:37 PM
If you are talking about your own apps version you can get it using ApplicationInfo::version()...
12-30-2013 06:38 PM
AFAIK the answer is no, but it could be just that I've never run across it. I just use three #defines in my C++ code for the release major, minor, and step values, and a Q_INVOKABLE function on the UI class to retrieve the release number, but of course this means I have to bump them up manually with each new release. I have a release checklist I follow that includes this step.
12-30-2013 06:41 PM
12-30-2013 07:30 PM
@BBSJdev Oops... that why I said AFAIK. I knew if anyone came in to correct me it would be you.