From: zccrs Date: Mon, 5 Mar 2018 09:48:00 +0000 (+0800) Subject: fix: set the VERSION from dtkcore version on other dtk project X-Git-Tag: archive/raspbian/5.7.12-2+rpi1^2~122^2~13 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d9fd53d1b68e2eb3b7a46f89f1d2c6898f3e54a5;p=dtkcore.git fix: set the VERSION from dtkcore version on other dtk project Change-Id: I8dd9b4659102552553b2b5a48406168eff7f5838 --- diff --git a/src/dtk_build.prf b/src/dtk_build.prf index 77cd6ba..273fd3b 100644 --- a/src/dtk_build.prf +++ b/src/dtk_build.prf @@ -1,8 +1,7 @@ defineTest(checkDtkVersion) { isEmpty(VERSION) { !isEqual(TARGET, dtkcore) { - PKG_CONFIG = $$pkgConfigExecutable() - !isEmpty(PKG_CONFIG): VERSION = $$system($$PKG_CONFIG --modversion dtkcore) + VERSION = $${QT.dtkcore.VERSION} } #TODO: faild in window