38 MUTILS_API
static const quint32 &lib_version_major(
void);
39 MUTILS_API
static const quint32 &lib_version_minor(
void);
42 MUTILS_API
static const QDate lib_build_date(
void);
43 MUTILS_API
static const QTime lib_build_time(
void);
46 MUTILS_API
static const QDate app_build_date(
const char *
const date_str = build_date_raw());
47 MUTILS_API
static const QTime app_build_time(
const char *
const time_str = build_time_raw());
50 static const char *
const compiler_version(
void)
52 static const char *
const COMPILER_VERS =
53 #if defined(__INTEL_COMPILER) 54 #if (__INTEL_COMPILER >= 1500) 55 "ICL 15." MUTILS_MAKE_STRING(__INTEL_COMPILER_BUILD_DATE);
56 #elif (__INTEL_COMPILER >= 1400) 57 "ICL 14." MUTILS_MAKE_STRING(__INTEL_COMPILER_BUILD_DATE);
58 #elif (__INTEL_COMPILER >= 1300) 59 "ICL 13." MUTILS_MAKE_STRING(__INTEL_COMPILER_BUILD_DATE);
60 #elif (__INTEL_COMPILER >= 1200) 61 "ICL 12." MUTILS_MAKE_STRING(__INTEL_COMPILER_BUILD_DATE);
62 #elif (__INTEL_COMPILER >= 1100) 64 #elif (__INTEL_COMPILER >= 1000) 67 #error Compiler is not supported! 69 #elif defined(_MSC_VER) 70 #if (_MSC_VER == 1911) 71 #if((_MSC_FULL_VER >= 191125542) && (_MSC_FULL_VER <= 191125547)) 73 #elif((_MSC_FULL_VER >= 191125506) && (_MSC_FULL_VER <= 191125508)) 76 #error Compiler version is not supported yet! 78 #elif (_MSC_VER == 1910) 79 #if ((_MSC_FULL_VER >= 191025017) && (_MSC_FULL_VER <= 191025019)) 82 #error Compiler version is not supported yet! 84 #elif (_MSC_VER == 1900) 85 #if (_MSC_FULL_VER == 190023026) 87 #elif (_MSC_FULL_VER == 190023506) 89 #elif (_MSC_FULL_VER == 190023918) 91 #elif (_MSC_FULL_VER == 190024210) || (_MSC_FULL_VER == 190024215) 94 #error Compiler version is not supported yet! 96 #elif (_MSC_VER == 1800) 97 #if (_MSC_FULL_VER == 180021005) 99 #elif (_MSC_FULL_VER == 180030501) 101 #elif (_MSC_FULL_VER == 180030723) 103 #elif (_MSC_FULL_VER == 180031101) 105 #elif (_MSC_FULL_VER == 180040629) 108 #error Compiler version is not supported yet! 110 #elif (_MSC_VER == 1700) 111 #if (_MSC_FULL_VER == 170050727) 113 #elif (_MSC_FULL_VER == 170051106) 115 #elif (_MSC_FULL_VER == 170060315) 117 #elif (_MSC_FULL_VER == 170060610) 119 #elif (_MSC_FULL_VER == 170061030) 122 #error Compiler version is not supported yet! 124 #elif (_MSC_VER == 1600) 125 #if (_MSC_FULL_VER >= 160040219) 130 #elif (_MSC_VER == 1500) 131 #if (_MSC_FULL_VER >= 150030729) 137 #error Compiler is not supported! 140 #error Compiler is not supported! 142 return COMPILER_VERS;
146 static const char *
const compiler_arch(
void)
148 static const char *
const COMPILER_ARCH =
151 #elif defined(_M_IX86) 154 #error Architecture is not supported! 156 return COMPILER_ARCH;
161 static const char *
const build_date_raw(
void)
163 static const char *
const RAW_BUILD_DATE = __DATE__;
164 return RAW_BUILD_DATE;
168 static const char *
const build_time_raw(
void)
170 static const char *
const RAW_BUILD_TIME = __TIME__;
171 return RAW_BUILD_TIME;
This file contains miscellaneous functions that are generally useful for Qt-based applications...
Global MUtils namespace.
Definition: CPUFeatures.h:37