On Monday 01 February 2016 16:35:37 Jason H wrote:
> Currently, I have a string that I have to manually maintain, is there a way
> I can call some function and get my application version (that's in the
> plist or manifest)? 

Please search the Cocoa and Win32 API. That's not a Qt question.

If you want to automate your version number, you can set a macro with it and 
then save:

VERSION = 1.0.1
DEFINES += VERSION=\\\"$$VERSION\\\"

in .cpp:

const char *appversion()
{
        return VERSION;
}

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to