mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Add clang version in compilation informations for macOS
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4982 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -67,9 +67,15 @@ QWidget *AboutQET::titleTab() const {
|
||||
QLabel *title = new QLabel("<span style=\"font-weight:0;font-size:16pt;\">QElectroTech V " + QET::displayedVersion + "</span>");
|
||||
QString compilation_info = "<br />" + tr("Compilation : ");
|
||||
#ifdef __GNUC__
|
||||
#ifdef __APPLE_CC__
|
||||
compilation_info += " CLANG " + QString(__clang_version__ );
|
||||
compilation_info += " - built with Qt " + QString(QT_VERSION_STR);
|
||||
compilation_info += " - run with Qt "+ QString(qVersion());
|
||||
#else
|
||||
compilation_info += " GCC " + QString(__VERSION__);
|
||||
compilation_info += " - built with Qt " + QString(QT_VERSION_STR);
|
||||
compilation_info += " - run with Qt "+ QString(qVersion());
|
||||
#endif
|
||||
#endif
|
||||
title -> setAlignment(Qt::AlignCenter);
|
||||
title -> setText(title->text() + compilation_info);
|
||||
|
||||
Reference in New Issue
Block a user