linux下键盘映射错误,[BUG] Linux系统键盘映射出现错误 ASSERT: "false" in file ../QtScrcpy/util/mousetap/mousetap.cpp...

1.编译问题

软件编译出现问题,QTime需要替换为QElapsedTimer,并导入该包

位置在device.h118行

#include

......

//QTime m_startTimeCount;

QElapsedTimer m_startTimeCount;

修改之后可编译通过

2.运行报错

""

"QtScrcpy"

本软件完全开源免费,严禁用于非法用途,否则后果自负,你可以在下面地址下载:

"QtScrcpy https://github.com/barry-ran/QtScrcpy"

adb path: /home/hector/DATA/githubtools/QtScrcpy/third_party/adb/linux/adb

"../../../third_party/adb/linux/adb" "tcpip 5555"

AdbProcess::out:restarting in TCP mode port: 5555

adb return 0 exit status QProcess::NormalExit

"../../../third_party/adb/linux/adb" "devices"

AdbProcess::out:List of devices attached

APPID device

adb return 0 exit status QProcess::NormalExit

"../../../third_party/adb/linux/adb" "-s APPID devices"

AdbProcess::out:List of devices attached

APPID device

adb return 0 exit status QProcess::NormalExit

getScreenRect is empty

"../../../third_party/adb/linux/adb" "-s APPID push ../../../third_party/scrcpy-server /data/local/tmp/scrcpy-server.jar"

AdbProcess::out:../../../third_party/scrcpy-server: 1 file pushed. 0.9 MB/s (26142 bytes in 0.028s)

"../../../third_party/adb/linux/adb" "-s APPID reverse localabstract:scrcpy tcp:27183"

adb return 0 exit status QProcess::NormalExit

"../../../third_party/adb/linux/adb" "-s APPID shell CLASSPATH=/data/local/tmp/scrcpy-server.jar app_process / com.genymobile.scrcpy.Server 1.12.1 1080 8000000 60 false - true true"

adb return 0 exit status QProcess::NormalExit

"../../../third_party/adb/linux/adb" "-s APPID reverse --remove localabstract:scrcpy"

server start finish in 0.65s

show event

adb return 0 exit status QProcess::NormalExit

FPS: 10

hide event

FPS: 38

show event

FPS: 40

Script updated.

FPS: 40

ASSERT: "false" in file ../../QtScrcpy/QtScrcpy/util/mousetap/mousetap.cpp, line 22

[1] 324807 abort (core dumped) ./QtScrcpy

接着软件退出

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值