mirror of
https://gitee.com/drabel/LibQQt.git
synced 2025-01-04 10:18:44 +08:00
fix version bug
This commit is contained in:
parent
5ac2a039d0
commit
80e2212fc3
@ -149,7 +149,7 @@ defineReplace(get_add_Qt_lib_pri){
|
|||||||
|
|
||||||
command =
|
command =
|
||||||
command += $$get_empty_file($${LIB_PRI_FILEPATH}) $$CMD_SEP
|
command += $$get_empty_file($${LIB_PRI_FILEPATH}) $$CMD_SEP
|
||||||
command += echo "QT.$${libname_lower}.VERSION = $${VERSION}" >> $${LIB_PRI_FILEPATH} $$CMD_SEP
|
command += echo "QT.$${libname_lower}.VERSION = $${APP_VERSION}" >> $${LIB_PRI_FILEPATH} $$CMD_SEP
|
||||||
command += echo "QT.$${libname_lower}.name = $${libname}" >> $${LIB_PRI_FILEPATH} $$CMD_SEP
|
command += echo "QT.$${libname_lower}.name = $${libname}" >> $${LIB_PRI_FILEPATH} $$CMD_SEP
|
||||||
command += echo "QT.$${libname_lower}.module = $${libname}" >> $${LIB_PRI_FILEPATH} $$CMD_SEP
|
command += echo "QT.$${libname_lower}.module = $${libname}" >> $${LIB_PRI_FILEPATH} $$CMD_SEP
|
||||||
contains(QSYS_PRIVATE, Win32|Windows|Win64) {
|
contains(QSYS_PRIVATE, Win32|Windows|Win64) {
|
||||||
|
@ -92,6 +92,7 @@ defineTest(add_version) {
|
|||||||
export(VER_MAJ)
|
export(VER_MAJ)
|
||||||
export(VER_MIN)
|
export(VER_MIN)
|
||||||
export(VER_PAT)
|
export(VER_PAT)
|
||||||
|
export(APP_VERSION)
|
||||||
export(APP_MAJOR_VERSION)
|
export(APP_MAJOR_VERSION)
|
||||||
export(APP_MINOR_VERSION)
|
export(APP_MINOR_VERSION)
|
||||||
export(APP_PATCH_VERSION)
|
export(APP_PATCH_VERSION)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user