[Qt-interest] Qt Service and program versions...
Andre Somers
andre at familiesomers.nl
Thu Nov 26 11:26:48 CET 2009
BRM wrote:
> So, I notice in the QtService functionality that it supports the '-v' parameter to "display the program version and status".
> How do tell it the version information for the program, without setting it in the program name or description?
>
> I've been overlooking this since I started using QtService; but it would have been really helpful to have something like:
>
> QtService::setVersion(QString version);
> QString QtService::version() const;
>
> but I don't see anything even remotely similar.
>
> FYI - I'm using QtService version 2.6.
>
Not sure if it will help you (does QtService have a QApp?), but
QCoreApplication has properties you can set for this kind of thing. Try
QCoreApplication::setApplicationVersion()
André
More information about the Qt-interest-old
mailing list