Hi All,
I m using qt 4.3.2 on Windowsxp.
If any Body knows how to set the application name and organiztion name then plz tell me the procedure.
Hi All,
I m using qt 4.3.2 on Windowsxp.
If any Body knows how to set the application name and organiztion name then plz tell me the procedure.
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
Last edited by jpn; 9th November 2007 at 21:25.
J-P Nurmi
Bookmarks