From 92b3c2dcff3e85ad3d455f6ab845d9a97d3b525b Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Mon, 7 Dec 2020 12:22:15 +0200 Subject: Rewrite meson build scripts into cmakelists --- src/about/test/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/about/test/main.cpp') diff --git a/src/about/test/main.cpp b/src/about/test/main.cpp index 18037e1..1b71c8e 100644 --- a/src/about/test/main.cpp +++ b/src/about/test/main.cpp @@ -1,12 +1,13 @@ #include #include #include "aboutdialog.h" +#include "version.h" int main(int argc, char **argv) { QApplication app(argc, argv); - app.setApplicationName("about"); - app.setApplicationVersion("1.2.3"); + app.setApplicationName(POI_NAME); + app.setApplicationVersion(POI_SHORT_VERSION); AboutDialog dlg; QObject::connect(&dlg, &AboutDialog::finished, &app, &QApplication::quit); @@ -17,5 +18,4 @@ int main(int argc, char **argv) } return app.exec(); -} - +} \ No newline at end of file -- cgit v1.2.1