From d9fd53d1b68e2eb3b7a46f89f1d2c6898f3e54a5 Mon Sep 17 00:00:00 2001 From: zccrs Date: Mon, 5 Mar 2018 17:48:00 +0800 Subject: [PATCH] fix: set the VERSION from dtkcore version on other dtk project Change-Id: I8dd9b4659102552553b2b5a48406168eff7f5838 --- src/dtk_build.prf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.30.2