2011-12-16 12:11:33 +00:00
|
|
|
#ifndef VERSION_H
|
|
|
|
#define VERSION_H
|
|
|
|
|
|
|
|
#include <qglobal.h>
|
|
|
|
|
|
|
|
const int major_version=0;
|
|
|
|
const int minor_version=8;
|
2011-12-18 07:29:27 +00:00
|
|
|
const int revision_number=9;
|
2011-12-16 12:11:33 +00:00
|
|
|
|
|
|
|
inline QString VersionString() { return QString().sprintf("%i.%i.%i",major_version,minor_version,revision_number); }
|
|
|
|
|
|
|
|
#ifdef Q_WS_MAC
|
2011-12-18 03:39:15 +00:00
|
|
|
const QString PlatformString="MacOSX";
|
2011-12-17 10:45:10 +00:00
|
|
|
#elif defined(Q_WS_WIN32)
|
2011-12-16 12:11:33 +00:00
|
|
|
const QString PlatformString="Win32";
|
2011-12-17 10:45:10 +00:00
|
|
|
#elif defined(Q_WS_X11)
|
2011-12-16 12:11:33 +00:00
|
|
|
const QString PlatformString="Linux";
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif // VERSION_H
|