add script.
This commit is contained in:
parent
040016a5cf
commit
fe9e585973
@ -4,7 +4,7 @@ ObjCBlockIndentWidth: 4
|
|||||||
IndentWidth: 4
|
IndentWidth: 4
|
||||||
TabWidth: 4
|
TabWidth: 4
|
||||||
AccessModifierOffset: -4
|
AccessModifierOffset: -4
|
||||||
ColumnLimit: 130
|
ColumnLimit: 140
|
||||||
|
|
||||||
#模板声明后换行
|
#模板声明后换行
|
||||||
AlwaysBreakTemplateDeclarations: true
|
AlwaysBreakTemplateDeclarations: true
|
||||||
|
11
Readme.md
11
Readme.md
@ -117,6 +117,7 @@ void statusbarUi::updatePlatformConnectionStatus(const int status)
|
|||||||
- 可视对讲(阳江博物馆项目):https://172.16.100.22/
|
- 可视对讲(阳江博物馆项目):https://172.16.100.22/
|
||||||
- 账号:admin
|
- 账号:admin
|
||||||
- 密码:Reconova_123456
|
- 密码:Reconova_123456
|
||||||
|
- FacePass测试地址:http://172.16.7.36/
|
||||||
|
|
||||||
## 人脸识别函数调用
|
## 人脸识别函数调用
|
||||||
|
|
||||||
@ -390,6 +391,16 @@ classDiagram
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
recoUiRecognize::event() 点击拨号按钮
|
||||||
|
recoUiRecognizeTypeBase::event() 点击拨号按钮
|
||||||
|
recoUiCallDial(拨号页面) 是 recoUi 的成员
|
||||||
|
recoUiRecognize和 recoUiRecognizeTypeBase(recoUiRecognizeTypeColor、recoUiRecognizeTypeAd) 也是 recoUi 的成员
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -38,15 +38,15 @@ function cmake_scan() {
|
|||||||
$toolchain_file
|
$toolchain_file
|
||||||
}
|
}
|
||||||
|
|
||||||
function qtmoc(){
|
function qtmoc() {
|
||||||
/opt/Qt/5.9.4/gcc_64/bin/moc src/qt/mainUi/mainUi.h -o src/qt/mainUi/moc_mainUi.cpp
|
MOC_EXE="docker run --rm -v $(pwd):$(pwd) -w $(pwd) frp-by1.wwvvww.cn:45288/ubuntu_dev:16.04 moc"
|
||||||
/opt/Qt/5.9.4/gcc_64/bin/moc src/qt/utility/UiTools.h -o src/qt/utility/moc_UiTools.cpp
|
$MOC_EXE src/qt/mainUi/mainUi.h -o src/qt/mainUi/moc_mainUi.cpp
|
||||||
/opt/Qt/5.9.4/gcc_64/bin/moc src/qt/videoChatUi/CallWaittingPage.h -o src/qt/videoChatUi/moc_CallWaittingPage.cpp
|
$MOC_EXE src/qt/utility/UiTools.h -o src/qt/utility/moc_UiTools.cpp
|
||||||
/opt/Qt/5.9.4/gcc_64/bin/moc src/qt/videoChatUi/DialPadPage.h -o src/qt/videoChatUi/moc_DialPadPage.cpp
|
$MOC_EXE src/qt/recoUi/recoUi.h -o src/qt/recoUi/moc_recoUi.cpp
|
||||||
/opt/Qt/5.9.4/gcc_64/bin/moc src/qt/videoChatUi/VideoChatPage.h -o src/qt/videoChatUi/moc_VideoChatPage.cpp
|
$MOC_EXE src/qt/recoUi/recoUiRecognize.h -o src/qt/recoUi/moc_recoUiRecognize.cpp
|
||||||
/opt/Qt/5.9.4/gcc_64/bin/moc src/qt/recoUi/recoUi.h -o src/qt/recoUi/moc_recoUi.cpp
|
$MOC_EXE src/qt/recoUi/recoUiRecognizeTypeBase.h -o src/qt/recoUi/moc_recoUiRecognizeTypeBase.cpp
|
||||||
/opt/Qt/5.9.4/gcc_64/bin/moc src/qt/recoUi/recoUiRecognize.h -o src/qt/recoUi/moc_recoUiRecognize.cpp
|
$MOC_EXE src/qt/recoUi/recoUiCallConsole.h -o src/qt/recoUi/moc_recoUiCallConsole.cpp
|
||||||
/opt/Qt/5.9.4/gcc_64/bin/moc src/qt/utility/DndModeCountDownItem.h -o src/qt/utility/moc_DndModeCountDownItem.cpp
|
$MOC_EXE src/qt/utility/DndModeCountDownItem.h -o src/qt/utility/moc_DndModeCountDownItem.cpp
|
||||||
}
|
}
|
||||||
|
|
||||||
function build() {
|
function build() {
|
||||||
@ -131,7 +131,7 @@ function copy_ssh() {
|
|||||||
ssh -i ~/Projects/ssh_host_rsa_key_ok root@${TARGET_IP} "sync"
|
ssh -i ~/Projects/ssh_host_rsa_key_ok root@${TARGET_IP} "sync"
|
||||||
}
|
}
|
||||||
|
|
||||||
function deploy_old(){
|
function build_old() {
|
||||||
if [ -n "$1" ]; then
|
if [ -n "$1" ]; then
|
||||||
TARGET_IP=$1
|
TARGET_IP=$1
|
||||||
fi
|
fi
|
||||||
@ -155,6 +155,15 @@ function deploy_old(){
|
|||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
deploy_old $TARGET_IP
|
||||||
|
# deploy_old "172.16.103.98"
|
||||||
|
# deploy_old "172.16.103.117"
|
||||||
|
}
|
||||||
|
|
||||||
|
function deploy_old() {
|
||||||
|
if [ -n "$1" ]; then
|
||||||
|
TARGET_IP=$1
|
||||||
|
fi
|
||||||
echo "deply to $TARGET_IP, path $TARGET_PATH"
|
echo "deply to $TARGET_IP, path $TARGET_PATH"
|
||||||
ssh -i ~/Projects/ssh_host_rsa_key_ok root@${TARGET_IP} "mount -o remount rw /; mount -o remount rw /system/"
|
ssh -i ~/Projects/ssh_host_rsa_key_ok root@${TARGET_IP} "mount -o remount rw /; mount -o remount rw /system/"
|
||||||
|
|
||||||
@ -165,17 +174,11 @@ function deploy_old(){
|
|||||||
else
|
else
|
||||||
ssh -i ~/Projects/ssh_host_rsa_key_ok root@${TARGET_IP} "killall start-app.sh; killall GateFace; killall netconfig"
|
ssh -i ~/Projects/ssh_host_rsa_key_ok root@${TARGET_IP} "killall start-app.sh; killall GateFace; killall netconfig"
|
||||||
fi
|
fi
|
||||||
# scp -i ~/Projects/ssh_host_rsa_key_ok ./3rdparty/arm-linux-gnueabihf/mpp/rk-libs/libeasymedia.so.1.0.1 root@${TARGET_IP}:/usr/lib/
|
scp -r -i ~/Projects/ssh_host_rsa_key_ok src/web/php/*.php root@${TARGET_IP}:/system/www/web/
|
||||||
# scp -i ~/Projects/ssh_host_rsa_key_ok ./3rdparty/arm-linux-gnueabihf/rkap_3a/lib/libRKAP_3A.so root@${TARGET_IP}:/system/lib/
|
|
||||||
# scp -i ~/Projects/ssh_host_rsa_key_ok ./3rdparty/arm-linux-gnueabihf/rkap_3a/lib/libRKAP_Common.so root@${TARGET_IP}:/system/lib/
|
|
||||||
# scp -i ~/Projects/ssh_host_rsa_key_ok ./3rdparty/arm-linux-gnueabihf/rkap_3a/lib/libRKAP_ANR.so root@${TARGET_IP}:/system/lib/
|
|
||||||
|
|
||||||
# scp -r -i ~/Projects/ssh_host_rsa_key_ok src/web/php/*.php root@${TARGET_IP}:/system/www/web/
|
|
||||||
scp -i ~/Projects/ssh_host_rsa_key_ok ./build/GateFace root@${TARGET_IP}:$TARGET_PATH
|
scp -i ~/Projects/ssh_host_rsa_key_ok ./build/GateFace root@${TARGET_IP}:$TARGET_PATH
|
||||||
# scp -i ~/Projects/ssh_host_rsa_key_ok ./build/netconfig root@${TARGET_IP}:$TARGET_PATH
|
# scp -i ~/Projects/ssh_host_rsa_key_ok ./build/netconfig root@${TARGET_IP}:$TARGET_PATH
|
||||||
# scp -i ~/Projects/ssh_host_rsa_key_ok ./src/netlink/libRwNetlink.so root@${TARGET_IP}:/system/lib/
|
# scp -i ~/Projects/ssh_host_rsa_key_ok ./src/netlink/libRwNetlink.so root@${TARGET_IP}:/system/lib/
|
||||||
|
|
||||||
|
|
||||||
if [ $build_hisi = true ]; then
|
if [ $build_hisi = true ]; then
|
||||||
scp -i ~/Projects/ssh_host_rsa_key_ok ./3rdparty/arm-himix200-linux/rwStageProtocol/lib/librwSrvProtocol.so root@${TARGET_IP}:/system/lib/
|
scp -i ~/Projects/ssh_host_rsa_key_ok ./3rdparty/arm-himix200-linux/rwStageProtocol/lib/librwSrvProtocol.so root@${TARGET_IP}:/system/lib/
|
||||||
ssh -i ~/Projects/ssh_host_rsa_key_ok root@${TARGET_IP} "reboot"
|
ssh -i ~/Projects/ssh_host_rsa_key_ok root@${TARGET_IP} "reboot"
|
||||||
@ -212,7 +215,7 @@ function main() {
|
|||||||
clean
|
clean
|
||||||
;;
|
;;
|
||||||
old)
|
old)
|
||||||
deploy_old $@
|
build_old $@
|
||||||
;;
|
;;
|
||||||
ssh)
|
ssh)
|
||||||
copy_ssh $@
|
copy_ssh $@
|
||||||
|
Loading…
Reference in New Issue
Block a user