mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 15:24:05 +00:00
Show clang compiler version in "About" window
This commit is contained in:
parent
e290a7239f
commit
54d8432369
2
about.cc
2
about.cc
|
@ -25,6 +25,8 @@ About::About( QWidget * parent ): QDialog( parent )
|
|||
.arg( GD_CXX_MSVC_MAJOR )
|
||||
.arg( GD_CXX_MSVC_MINOR )
|
||||
.arg( GD_CXX_MSVC_BUILD );
|
||||
#elif defined (__clang__) && defined (__clang_version__)
|
||||
QString compilerVersion = QLatin1String( "Clang " ) + QLatin1String( __clang_version__ );
|
||||
#else
|
||||
QString compilerVersion = QLatin1String( "GCC " ) + QLatin1String( __VERSION__ );
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue