[SailfishDevel] Versions
fasza2mobile at gmail.com
fasza2mobile at gmail.com
Sun Jul 20 12:30:33 UTC 2014
Wow, thanks:)
On Sun Jul 20 2014 13:12:19 GMT+0100 (BST), Andrey Kozhevnikov wrote:
> QProcess app;
> app.start("/bin/rpm", QStringList() << "-qa" << "--queryformat" <<
> "%{version}-%{release}" << "packagename");
> app.waitForFinished(-1);
> if (app.bytesAvailable() > 0) {
> version = app.readAll();
> }
>
> 20.07.2014 17:26, Chris Walker пишет:
> > Is there any way to have my 'About' page pick up the Version and
> > Release information from the yaml file?
> >
> > At the moment, I'm hard coding the versioninfo in the About page but
> > I'd like it to be updated automagically in the future.
> >
> > I looked around but couldn't see this information anywhere so I'm
> > guessing that this question hasn't been asked/answered before but if it
> > has, please feel free to point me in the right direction.
> > _______________________________________________
> > SailfishOS.org Devel mailing list
> > To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org
>
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.or
--
More information about the Devel
mailing list