首页 > 其他分享 >使用lupdate命令清空qt工程里面的.ts文件多余的无效翻译,终端提示没有找到lupdate命令

使用lupdate命令清空qt工程里面的.ts文件多余的无效翻译,终端提示没有找到lupdate命令

时间:2023-06-15 18:23:27浏览次数:32  
标签:qt 提示 ts lupdate 命令 终端

使用lupdate命令清空qt工程里面的.ts文件多余的无效翻译,终端提示没有找到lupdate命令

实验平台:Ubuntu 16.04

解决过程:

  1.在终端中使用lupdate xxx.pro -no-obsolete命令

  2.终端提示在/usr/lib/x86_64-linux-gnu/qt4/bin没有找到lupdate命令

  3.该提示表明没有安装相关的qt工具包

  4.安装相关的工具包,执行命令:

    sudo apt install qt4-dev-tools

  5.然后重新执行lupdate命令成功

标签:qt,提示,ts,lupdate,命令,终端
From: https://www.cnblogs.com/muzivsqru/p/17483742.html

相关文章

  • 记一次ubuntu系统磁盘无法挂载之gdisk命令的使用
    可以使用fdisk-l查看到磁盘分区信息但实际上并未成功(base)root@ywb:~#fdisk-l......TheprimaryGPTtableiscorrupt,butthebackupappearsOK,sothatwillbeused.Disk/dev/sde:4.6TiB,5000981077504bytes,9767541167sectorsUnits:sectorsof1*51......
  • ECS服务器挂在磁盘命令
    11.在根目录创建挂载文件夹2进入/目录mkdirdata34--2.查看挂载信息5--[root@ecs-a08d-0001/]#fdisk-l6Disk/dev/sda:40GiB,42949672960bytes,83886080sectors7Units:sectorsof1*512=512bytes8Sectorsize(logical/physical)......
  • redis学习八:数据类型命令及落地运用 (Zset)
    有序,附带分数,适用于排行榜1.zaddkeyscore1v1score2v2新增键值对;zrangezsetstartend查看对应范围值zrangekeystartendwithscores带着分数查看;zrevrangekey倒序查看,用法和zrange类似; 2.zrangebyscorekeyminmax取分数范围内的value;也可以在前面加上(是不......
  • qt——自己手动添加菜单栏、工具栏(自定义菜单栏、工具栏的位置)
    参考:原文链接 不一定非要用QGroupBox,其他继承自widget的控件都可以我的实现: ......
  • Nginx支持web界面执行bash|python等系统命令和脚本
    ##关闭防火墙##(centos6)serviceiptablesstopchkconfigiptablesoff##(centos7)systemctlstopfirewalldsystemctldisablefirewalld#关闭selinuxsed-i's/SELINUX=enforcing/SELINUX=disabled/'/etc/selinux/configsetenforce0#已有epel源的跳过此步骤,直接安装......
  • git命令速查表-Git命令大全(思维导图)-图片版
    - -     ---来源:https://blog.csdn.net/m0_47403102/article/details/122538395......
  • git操作基本命令
    拉取代码gitclonehttp://...创建本地分支gitbranchfeatuer切换本地分支gitcheckoutfeatuer拉取最新分支代码gitpullorigindevgitadd.gitcommit-m"aaa"提交本地featuer代码到dev分支gitpushoriginfeatuer:dev或者创建本地分支gitbranchdev切换本地分支git......
  • docker常用命令
    docker常用命令镜像命令dockerimages #查看本地主机的镜像-a #列出本地所有镜像-q #只显示镜像iddockersearch #搜索对应的镜像eg:dockersearchmysql-f #可以对镜像进行筛选eg:dockersearchmysql-f=STARS=4338--limit#对镜像个数做限......
  • Qt Qdebug 实现重定向到文件
    #include<QtCore/QCoreApplication>#include<QtCore/QDebug>#include<QtCore/QFile>#include<QtCore/QTextStream>//自定义消息处理函数voidmyMessageHandler(QtMsgTypetype,constchar*msg){   //打开输出文件   QFilefile("debug.log");   ......
  • linux 常用命令
    (1)通过端口查询进程netstat-nlp|grep5672 ps-ef|grep 1085639 ......