diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-10-24 15:12:57 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-10-24 15:12:57 +0200 |
commit | 349ed63038fffe8835446a2f5bbea9d090f8ad51 (patch) | |
tree | 0c176a67447c16257af2aff6f8c4371aca465325 /lib | |
parent | Update PKGBUILD to use meson (diff) | |
download | smolbote-349ed63038fffe8835446a2f5bbea9d090f8ad51.tar.xz |
Use vcs_tag to get version information
Diffstat (limited to 'lib')
-rw-r--r-- | lib/about/aboutdialog.cpp | 3 | ||||
-rw-r--r-- | lib/about/meson.build | 3 | ||||
-rw-r--r-- | lib/configuration/meson.build | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/lib/about/aboutdialog.cpp b/lib/about/aboutdialog.cpp index 555a69f..02ae2cf 100644 --- a/lib/about/aboutdialog.cpp +++ b/lib/about/aboutdialog.cpp @@ -48,8 +48,7 @@ AboutDialog::AboutDialog(QWidget *parent) "</ul>" "<p>This program is distributed in the hope that it will be useful, but without any warranty.</p>")); - ui->detailsLabel->setText(tr("<p>Version " poi_Describe "</p>" - "<p>Build " poi_Build "</p>" + ui->detailsLabel->setText(tr("<p>Version " poi_Version "</p>" "<p>Compiled with " compiler "</p>")); } diff --git a/lib/about/meson.build b/lib/about/meson.build index 38769a8..35598b3 100644 --- a/lib/about/meson.build +++ b/lib/about/meson.build @@ -6,8 +6,7 @@ about_moc = qt5.preprocess( about_inc = include_directories('.') about_lib = static_library('about', ['aboutdialog.cpp', about_moc], - dependencies: dep_qt5, - include_directories: genheader_inc + dependencies: [dep_qt5, dep_genheaders] ) dep_about = declare_dependency( diff --git a/lib/configuration/meson.build b/lib/configuration/meson.build index b166d5e..79daa78 100644 --- a/lib/configuration/meson.build +++ b/lib/configuration/meson.build @@ -5,8 +5,7 @@ configuration_moc = qt5.preprocess( ) configuration_lib = static_library('configuration', ['configuration.cpp', configuration_moc], - dependencies: [dep_boost, dep_qt5], - include_directories: genheader_inc + dependencies: [dep_boost, dep_qt5, dep_genheaders] ) dep_configuration = declare_dependency( |