From 102e5f6de9bf452bc7be32237dd7b78bc5f18f9e Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sat, 5 Jan 2019 18:08:34 -0800 Subject: [PATCH] Move the version string into version.txt --- app/app.pro | 4 ++-- app/version.txt | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 app/version.txt diff --git a/app/app.pro b/app/app.pro index 600c68ab..fcc08792 100644 --- a/app/app.pro +++ b/app/app.pro @@ -327,5 +327,5 @@ macx { QMAKE_RPATHDIR += @executable_path/../Frameworks } -VERSION = 0.8.0 -DEFINES += VERSION_STR=\\\"0.8.0\\\" +VERSION = "$$cat(version.txt)" +DEFINES += VERSION_STR=\\\"$$cat(version.txt)\\\" diff --git a/app/version.txt b/app/version.txt new file mode 100644 index 00000000..8adc70fd --- /dev/null +++ b/app/version.txt @@ -0,0 +1 @@ +0.8.0 \ No newline at end of file