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 == 1923) 71 #if((_MSC_FULL_VER >= 192328105) && (_MSC_FULL_VER <= 192328105)) 74 #error Compiler version is not supported yet! 76 #elif (_MSC_VER == 1922) 77 #if((_MSC_FULL_VER >= 192227905) && (_MSC_FULL_VER <= 192227905)) 80 #error Compiler version is not supported yet! 82 #elif (_MSC_VER == 1921) 83 #if((_MSC_FULL_VER >= 192127702) && (_MSC_FULL_VER <= 192127702)) 86 #error Compiler version is not supported yet! 88 #elif (_MSC_VER == 1920) 89 #if((_MSC_FULL_VER >= 192027508) && (_MSC_FULL_VER <= 192027508)) 92 #error Compiler version is not supported yet! 94 #elif (_MSC_VER == 1916) 95 #if((_MSC_FULL_VER >= 191627024) && (_MSC_FULL_VER <= 191627034)) 98 #error Compiler version is not supported yet! 100 #elif (_MSC_VER == 1915) 101 #if((_MSC_FULL_VER >= 191526726) && (_MSC_FULL_VER <= 191526732)) 104 #error Compiler version is not supported yet! 106 #elif (_MSC_VER == 1914) 107 #if((_MSC_FULL_VER >= 191426430) && (_MSC_FULL_VER <= 191426433)) 110 #error Compiler version is not supported yet! 112 #elif (_MSC_VER == 1913) 113 #if((_MSC_FULL_VER >= 191326128) && (_MSC_FULL_VER <= 191326132)) 116 #error Compiler version is not supported yet! 118 #elif (_MSC_VER == 1912) 119 #if((_MSC_FULL_VER >= 191225830) && (_MSC_FULL_VER <= 191225835)) 122 #error Compiler version is not supported yet! 124 #elif (_MSC_VER == 1911) 125 #if((_MSC_FULL_VER >= 191125542) && (_MSC_FULL_VER <= 191125547)) 127 #elif((_MSC_FULL_VER >= 191125506) && (_MSC_FULL_VER <= 191125508)) 130 #error Compiler version is not supported yet! 132 #elif (_MSC_VER == 1910) 133 #if ((_MSC_FULL_VER >= 191025017) && (_MSC_FULL_VER <= 191025019)) 136 #error Compiler version is not supported yet! 138 #elif (_MSC_VER == 1900) 139 #if (_MSC_FULL_VER == 190023026) 141 #elif (_MSC_FULL_VER == 190023506) 143 #elif (_MSC_FULL_VER == 190023918) 145 #elif (_MSC_FULL_VER == 190024210) || (_MSC_FULL_VER == 190024215) 148 #error Compiler version is not supported yet! 150 #elif (_MSC_VER == 1800) 151 #if (_MSC_FULL_VER == 180021005) 153 #elif (_MSC_FULL_VER == 180030501) 155 #elif (_MSC_FULL_VER == 180030723) 157 #elif (_MSC_FULL_VER == 180031101) 159 #elif (_MSC_FULL_VER == 180040629) 162 #error Compiler version is not supported yet! 164 #elif (_MSC_VER == 1700) 165 #if (_MSC_FULL_VER == 170050727) 167 #elif (_MSC_FULL_VER == 170051106) 169 #elif (_MSC_FULL_VER == 170060315) 171 #elif (_MSC_FULL_VER == 170060610) 173 #elif (_MSC_FULL_VER == 170061030) 176 #error Compiler version is not supported yet! 178 #elif (_MSC_VER == 1600) 179 #if (_MSC_FULL_VER >= 160040219) 185 #error Compiler is not supported! 188 #error Compiler is not supported! 190 return COMPILER_VERS;
194 static const char *
const compiler_arch(
void)
196 static const char *
const COMPILER_ARCH =
199 #elif defined(_M_IX86) 202 #error Architecture is not supported! 204 return COMPILER_ARCH;
209 static const char *
const build_date_raw(
void)
211 static const char *
const RAW_BUILD_DATE = __DATE__;
212 return RAW_BUILD_DATE;
216 static const char *
const build_time_raw(
void)
218 static const char *
const RAW_BUILD_TIME = __TIME__;
219 return RAW_BUILD_TIME;
This file contains miscellaneous functions that are generally useful for Qt-based applications...
Global MUtils namespace.
Definition: CPUFeatures.h:37