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

update deploy command

This commit is contained in:
tianduanrui 2017-12-12 22:55:07 +08:00
parent e219dea63c
commit 80cc63eb18
2 changed files with 5 additions and 1 deletions

View File

@ -13,6 +13,7 @@ defineReplace(deploy_app_on_mac) {
#need QQT_BUILD_PWD
APP_DEPLOY_PWD = $${APP_DEPLOY_ROOT}/$${TARGET}/$${QKIT_STD_DIR}
command = &&
command += $$MK_DIR $${APP_DEPLOY_PWD} $$CMD_SEP
command += rm -fr $${APP_DEPLOY_PWD}/$${TARGET}.app &&
command += cp -fa $${DESTDIR}/$${TARGET}.app $${APP_DEPLOY_PWD}/$${TARGET}.app
#message($$command)
@ -43,6 +44,7 @@ defineReplace(deploy_app_on_linux) {
APP_DEPLOY_PWD = $${APP_DEPLOY_ROOT}/$${TARGET}/$${QKIT_STD_DIR}
command =
command += $$MK_DIR $${APP_DEPLOY_PWD} $$CMD_SEP
command += $$RM $${APP_DEPLOY_PWD}/libQQt.so* &&
command += $$COPY_DIR $${QQT_BUILD_PWD}/libQQt.so.$${QQT_VERSION3} $${APP_DEPLOY_PWD} &&
command += $$COPY_DIR $${QQT_BUILD_PWD}/libQQt.so.$${QQT_VERSION2} $${APP_DEPLOY_PWD} &&

View File

@ -219,7 +219,8 @@ void QQtPictureEffectTabBar::drawIcon ( QPainter* p )
QIcon::Mode mode = QIcon::Normal;
/*这个效果没法看*/
if ( currentIndex() == index ) {
if ( currentIndex() == index )
{
;//mode = QIcon::Selected;
}
@ -227,6 +228,7 @@ void QQtPictureEffectTabBar::drawIcon ( QPainter* p )
sel = currentIndex() == index ? BTN_PRESS : BTN_NORMAL;
//pline() << iconList.size() << index << iconList[index][sel];
if ( iconList.size() > index )
{
p->save();