mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Add MSVC support to MachineInfo
This commit is contained in:
committed by
Laurent Trinques
parent
b69c7b1027
commit
a8d42b0f9a
@@ -82,12 +82,14 @@ class MachineInfo
|
||||
struct Built
|
||||
{
|
||||
QString version=
|
||||
#ifdef __GNUC__
|
||||
#ifdef __APPLE_CC__
|
||||
#ifdef __GNUC__
|
||||
#ifdef __APPLE_CC__
|
||||
"CLANG " + QString(__clang_version__);
|
||||
#else
|
||||
#else
|
||||
"GCC " + QString(__VERSION__);
|
||||
#endif
|
||||
#elif defined(Q_CC_MSVC)
|
||||
"MSVC " + QString(QT_STRINGIFY(_MSC_FULL_VER));
|
||||
#endif
|
||||
QString QT=QString(QT_VERSION_STR);
|
||||
QString date=QString(__DATE__);
|
||||
|
||||
Reference in New Issue
Block a user