diff --git a/Changelog b/Changelog index 87a1e99df..ea4dd14cf 100644 --- a/Changelog +++ b/Changelog @@ -1,5 +1,6 @@ * Unreleased - Christophe Dumez - v2.9.0 - COSMETIC: Display speed at the beginning of the Window title + - OTHER: Display libraries versions in about dialog (sledgehammer999) * Thu Jun 02 2011 - Christophe Dumez - v2.8.0 - FEATURE: Added full libtorrent v0.16 support (uTP, ...) diff --git a/src/about.ui b/src/about.ui index 122763fd9..407302238 100644 --- a/src/about.ui +++ b/src/about.ui @@ -78,7 +78,7 @@ 0 - + About @@ -129,7 +129,7 @@ p, li { white-space: pre-wrap; } - + Author @@ -259,7 +259,7 @@ p, li { white-space: pre-wrap; } - + Translation @@ -276,7 +276,7 @@ p, li { white-space: pre-wrap; } - + License @@ -289,6 +289,114 @@ p, li { white-space: pre-wrap; } + + + Libraries + + + + + + + 0 + 0 + + + + This version of qBittorrent was built against the following libraries: + + + true + + + + + + + Qt::Horizontal + + + + + + + + + Qt: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + Boost: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + + + + + + + + + + + + + + + + + + + + + + Libtorrent: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + + + Qt::Horizontal + + + + + + + Qt::Vertical + + + QSizePolicy::Expanding + + + + 0 + 0 + + + + + + @@ -296,7 +404,6 @@ p, li { white-space: pre-wrap; } - diff --git a/src/about_imp.h b/src/about_imp.h index 488df18ef..849bcfbee 100644 --- a/src/about_imp.h +++ b/src/about_imp.h @@ -33,6 +33,9 @@ #include "ui_about.h" #include +#include +#include +#include class about : public QDialog, private Ui::AboutDlg{ Q_OBJECT @@ -99,6 +102,10 @@ class about : public QDialog, private Ui::AboutDlg{ te_license->setHtml(licensefile.readAll()); licensefile.close(); } + // Libraries + label_11->setText(QT_VERSION_STR); + label_12->setText(LIBTORRENT_VERSION); + label_13->setText(QString::number(BOOST_VERSION / 100000) + "." + QString::number((BOOST_VERSION / 100) % 1000) + "." + QString::number(BOOST_VERSION % 100)); show(); } }; diff --git a/winconf-mingw.pri b/winconf-mingw.pri index 8b160521a..aaf25119c 100644 --- a/winconf-mingw.pri +++ b/winconf-mingw.pri @@ -7,14 +7,14 @@ RC_FILE = qbittorrent_mingw.rc #Adapt the lib names/versions accordingly CONFIG(debug, debug|release) { LIBS += libtorrent \ - libboost_system-mgw45-mt-d-1_46_1 \ - libboost_filesystem-mgw45-mt-d-1_46_1 \ - libboost_thread-mgw45-mt-d-1_46_1 + libboost_system-mgw45-mt-d-1_47 \ + libboost_filesystem-mgw45-mt-d-1_47 \ + libboost_thread-mgw45-mt-d-1_47 } else { LIBS += libtorrent \ - libboost_system-mgw45-mt-1_46_1 \ - libboost_filesystem-mgw45-mt-1_46_1 \ - libboost_thread-mgw45-mt-1_46_1 + libboost_system-mgw45-mt-1_47 \ + libboost_filesystem-mgw45-mt-1_47 \ + libboost_thread-mgw45-mt-1_47 } LIBS += libadvapi32 libshell32