diff --git a/src/libs/qmuparser/qmuparser.qbs b/src/libs/qmuparser/qmuparser.qbs index cca2b39a0..a56fcf9b4 100644 --- a/src/libs/qmuparser/qmuparser.qbs +++ b/src/libs/qmuparser/qmuparser.qbs @@ -1,5 +1,6 @@ VLib { name: "QMUParserLib" + version: "2.7.0" files: [ "qmuparser.cpp", "qmuparsertokenreader.cpp", @@ -31,6 +32,8 @@ VLib { "make_unique.h", ] + cpp.defines: 'QMUP_VERSION="' + product.version + '"' + buildconfig.staticBuild: false Group { diff --git a/src/libs/qmuparser/qmuparserdef.h b/src/libs/qmuparser/qmuparserdef.h index 963e99624..a5bda09a4 100644 --- a/src/libs/qmuparser/qmuparserdef.h +++ b/src/libs/qmuparser/qmuparserdef.h @@ -33,7 +33,9 @@ @brief This file contains standard definitions used by the parser. */ -#define QMUP_VERSION "2.7.0" +#ifndef QMUP_VERSION +#define QMUP_VERSION "2.7.0" // Leave while we still use qmake +#endif #define QMUP_VERSION_DATE "20191030; GC" // Detect whether the compiler supports C++11 noexcept exception specifications. diff --git a/src/libs/vpropertyexplorer/vpropertyexplorer.qbs b/src/libs/vpropertyexplorer/vpropertyexplorer.qbs index f10a54798..a732c10d5 100644 --- a/src/libs/vpropertyexplorer/vpropertyexplorer.qbs +++ b/src/libs/vpropertyexplorer/vpropertyexplorer.qbs @@ -3,6 +3,7 @@ VLib { Depends { name: "VMiscLib" } name: "VPropertyExplorerLib" + version: "1.0.0" files: [ "vproperty.cpp", "vpropertydelegate.cpp",