mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 10:40:42 +00:00
21 lines
454 B
C
21 lines
454 B
C
|
#ifndef VERSION_H
|
||
|
#define VERSION_H
|
||
|
|
||
|
#include <qglobal.h>
|
||
|
|
||
|
const int major_version=0;
|
||
|
const int minor_version=8;
|
||
|
const int revision_number=8;
|
||
|
|
||
|
inline QString VersionString() { return QString().sprintf("%i.%i.%i",major_version,minor_version,revision_number); }
|
||
|
|
||
|
#ifdef Q_WS_MAC
|
||
|
const QString PlatformString="Mac";
|
||
|
#elif Q_WS_WINDOWS
|
||
|
const QString PlatformString="Win32";
|
||
|
#else
|
||
|
const QString PlatformString="Linux";
|
||
|
#endif
|
||
|
|
||
|
#endif // VERSION_H
|