OSCAR-code/sleepyhead/version.h

30 lines
754 B
C

#ifndef VERSION_H
#define VERSION_H
#include <qglobal.h>
const int major_version=0;
const int minor_version=9;
const int revision_number=4;
const int release_number=1;
#ifdef UNSTABLE_BUILD
const QString ReleaseStatus="unstable";
#else
const QString ReleaseStatus="beta";
#endif
const QString VersionString=QString().sprintf("%i.%i.%i",major_version,minor_version,revision_number);
const QString FullVersionString=QString().sprintf("%i.%i.%i-%i",major_version,minor_version,revision_number,release_number)+" "+ReleaseStatus;
#ifdef Q_OS_MAC
const QString PlatformString="MacOSX";
#elif defined(Q_OS_WIN32)
const QString PlatformString="Win32";
#elif defined(Q_OS_LINUX)
const QString PlatformString="Linux";
#endif
#endif // VERSION_H