diff options
Diffstat (limited to 'src/forms')
-rw-r--r-- | src/forms/aboutdialog.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/forms/aboutdialog.cpp b/src/forms/aboutdialog.cpp index d9c75c3..89cb23e 100644 --- a/src/forms/aboutdialog.cpp +++ b/src/forms/aboutdialog.cpp @@ -9,11 +9,11 @@ #include "aboutdialog.h" #include "ui_aboutdialog.h" #include "version.h" -#include <libconfig.h++> +#include <boost/version.hpp> // The extra level of indirection will allow the preprocessor to expand the macros before they are converted to strings. -#define STR_HELPER(x) #x -#define STR(x) STR_HELPER(x) +#define STRINGIFY(x) #x +#define STR(x) STRINGIFY(x) // compiler // clang also defines __GNUC__, so we need to check for clang first @@ -25,9 +25,6 @@ #define compiler "unknown compiler"; #endif -// libconfig -#define LIBCONFIG_VERSION_STR STR(LIBCONFIGXX_VER_MAJOR) "." STR(LIBCONFIGXX_VER_MINOR) "." STR(LIBCONFIGXX_VER_REVISION) - AboutDialog::AboutDialog(QWidget *parent) : QDialog(parent) , ui(new Ui::AboutDialog) @@ -64,7 +61,7 @@ AboutDialog::AboutDialog(QWidget *parent) "Compiled with " compiler "</p>" "<p><ul>" "<li>Qt " QT_VERSION_STR "</li>" - "<li>libconfig " LIBCONFIG_VERSION_STR "</li>" + "<li>Boost " BOOST_LIB_VERSION " </li>" "</ul></p>")); ui->toolBox->addItem(libsLabel, tr("Details")); } |