From 349ed63038fffe8835446a2f5bbea9d090f8ad51 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Wed, 24 Oct 2018 15:12:57 +0200 Subject: Use vcs_tag to get version information --- lib/about/aboutdialog.cpp | 3 +-- lib/about/meson.build | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'lib/about') 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) "" "

This program is distributed in the hope that it will be useful, but without any warranty.

")); - ui->detailsLabel->setText(tr("

Version " poi_Describe "

" - "

Build " poi_Build "

" + ui->detailsLabel->setText(tr("

Version " poi_Version "

" "

Compiled with " compiler "

")); } 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( -- cgit v1.2.1