24 #include "versiondefs.h" 30 return HG_REVISION_HASH_STRING;
33 QString Version::name()
41 return QString(
"Windows");
42 #elif defined(Q_OS_LINUX) 43 return QString(
"Linux");
44 #elif defined(Q_OS_DARWIN) 45 return QString(
"MAC");
47 return QSysInfo::prettyProductName();
51 QString Version::qtPackageVersion()
53 return QString(
"%1-%2").arg(qVersion()).arg(
"mingw-1");
56 QString Version::revision()
61 unsigned long long Version::revisionNumber()
63 return HG_REVISION_NUMBER;
71 QString Version::version()
73 return VERSION_STRING;
78 if (revision().isEmpty())
84 return version() +
"-" + revision();
88 QString Version::yearSpan()
static QString operatingSystem()
Name of operating system, content length and detail may vary.
static QString versionRevision()
Combines version and revision strings.
static QString userAgent()
WWW User Agent used for HTTP communications.
static QString changeset()