1
0
mirror of https://gitee.com/drabel/LibQQt.git synced 2025-01-04 10:18:44 +08:00

update multi-link

This commit is contained in:
tianduanrui 2018-04-14 21:34:53 +08:00
parent a1e3de56b7
commit c104f81e85
8 changed files with 18 additions and 3 deletions

View File

@ -26,7 +26,9 @@ CONFIG_PATH =
CONFIG_FILE =
equals(QMAKE_HOST.os, Windows) {
CONFIG_PATH = $$user_config_path()\\qmake
#<v2.2.2
#CONFIG_PATH = $$user_config_path()\\qmake
CONFIG_PATH = $$user_config_path()\\.qmake
CONFIG_FILE = $${CONFIG_PATH}\\app_configure.pri
} else {
CONFIG_PATH = $$user_config_path()/.qmake

0
src/linux_cd_path.sh Executable file → Normal file
View File

0
src/linux_cp_files.sh Executable file → Normal file
View File

0
src/linux_cur_path.sh Executable file → Normal file
View File

0
src/linux_read_ini.sh Executable file → Normal file
View File

View File

@ -193,7 +193,9 @@ defineReplace(get_user_config_path) {
#注意qmake在windows平台下无论目标明令行一律按照windows控制台风格。不以目标区分Attention!。
#win32 {
equals(QMAKE_HOST.os, Windows) {
command = echo %APPDATA%
#<v2.2.2
#command = echo %APPDATA%
command = echo %HOMEDRIVE%%HOMEPATH%
} else {
command = echo $HOME
}

View File

@ -43,7 +43,7 @@ defineReplace(get_version_string_4) {
#-------------------------------------------------------------------------------
QQT_MAJOR_VERSION = 2
QQT_MINOR_VERSION = 2
QQT_PATCH_VERSION = 1
QQT_PATCH_VERSION = 2
QQT_BUILD_VERSION = 0
QQT_VERSION1 = $$get_version_string_1( $${QQT_MAJOR_VERSION} )

View File

@ -93,6 +93,17 @@ Qt Creator里的两处配置都是为了配合qmake进行配置的
图上写的比较简单Windows下在用户主目录\\AppData\\Roaming\\qmake里。
![app_configure.pri移动了](screenshot/9.png "这是LibQQt需要设置的几个路径pri位置有改动")
# v2.2.2 更新LibQQt Multi-link技术
这次相比v2.2.1更改了Windows平台app_configure.pri的位置过去在C:\\Users\\Administrator\\AppData\\qmake里面
现在更改到了C:\\Users\\Administrator\\.qmake里面也就是放到了用户主目录根下
这次改动统一符合了类Unix配置文件的规范。
但是在Windows下Qt Creator还是不会在qmake error函数以后依然加载app_configure.pri
还是需要用户手动去打开这个文件进行编辑。
无奈之举。
另外更新了QKIT和SYSNAME的关系
[返回](.)