본문 바로가기
카테고리 없음

Qt lupdate 사용법 (Ubuntu 20.04.1 LTS)

by 어다프 2020. 8. 4.

1. sudo apt-get install qttools5-dev-tools

* https://forum.qt.io/topic/30268/solved-how-to-lupdate-with-qt5

 

[SOLVED] How to lupdate with qt5?

@lupdate wallch.pro lupdate: could not exec '/usr/lib/x86_64-linux-gnu/qt5/bin/lupdate': No such file or directory@ Synaptic package manager (on Ubuntu 13.04 i am running): !http://i.imgur.com/mexEWrk.png(1)! What i am supposed to install? :/

forum.qt.io

2. lupdate -verbose *.pro -ts *.ts

https://doc.qt.io/qt-5/qtlinguist-hellotr-example.html

 

Hello tr() Example | Qt Linguist Manual

Hello tr() Example Translating a small Hello World program to Latin. The screenshot shows the English version. See the Qt Linguist Manual for more information about translating Qt application. Line by Line Walkthrough This line includes the definition of t

doc.qt.io

3. linguist *.ts

 

참고

cat /etc/issue - 우분투 버전 확인 (Ubuntu 20.04.1 LTS \n \l)