Show clang compiler version in "About" window

This commit is contained in:
Abs62 2014-05-11 19:41:54 +04:00
parent e290a7239f
commit 54d8432369

View file

@ -25,6 +25,8 @@ About::About( QWidget * parent ): QDialog( parent )
.arg( GD_CXX_MSVC_MAJOR ) .arg( GD_CXX_MSVC_MAJOR )
.arg( GD_CXX_MSVC_MINOR ) .arg( GD_CXX_MSVC_MINOR )
.arg( GD_CXX_MSVC_BUILD ); .arg( GD_CXX_MSVC_BUILD );
#elif defined (__clang__) && defined (__clang_version__)
QString compilerVersion = QLatin1String( "Clang " ) + QLatin1String( __clang_version__ );
#else #else
QString compilerVersion = QLatin1String( "GCC " ) + QLatin1String( __VERSION__ ); QString compilerVersion = QLatin1String( "GCC " ) + QLatin1String( __VERSION__ );
#endif #endif