From c0c435e19766a6eec09efa7400460e0f1cd0a485 Mon Sep 17 00:00:00 2001 From: David Rosca Date: Thu, 25 Sep 2014 15:19:00 +0200 Subject: [PATCH] Build: Fix setting QUPZILLA_VERSION define on non-unix platforms [ci-skip] --- src/defines.pri | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/defines.pri b/src/defines.pri index 8503ef6d3..aeb79aecb 100644 --- a/src/defines.pri +++ b/src/defines.pri @@ -8,8 +8,9 @@ UI_DIR = $$PWD/../build # workaround for #849: see https://bugreports.qt-project.org/browse/QTBUG-23196 mocinclude.CONFIG *= fix_target -unix: VERSION = 1.7.0 -DEFINES *= QUPZILLA_VERSION=\\\"""$$VERSION"\\\"" +QZ_VERSION = 1.7.0 +unix: VERSION = $$QZ_VERSION +DEFINES *= QUPZILLA_VERSION=\\\"""$$QZ_VERSION"\\\"" d_no_system_datapath = $$(NO_SYSTEM_DATAPATH) d_use_webgl = $$(USE_WEBGL)