Hi
There is no way to directly set them in .pro file if you're talking about QCoreApplication::applicationName() and QCoreApplication::organizationName().
If you're talking about binary name, use TARGET variable.
Edit: Of course, you can use compiler defines in .pro:
But you will still have to apply them in code:DEFINES += APPLICATION_NAME=\\\"appname\\\"
DEFINES += ORGANIZATION_NAME=\\\"appname\\\"
Qt Code:
To copy to clipboard, switch view to plain text mode
Bookmarks