2016年4月14日
Linux 安裝Qt
下載Qt網址
http://download.qt.io/official_releases/qt/
我下載的是
http://download.qt.io/official_releases/qt/5.4/5.4.1/qt-opensource-linux-x64-android-5.4.1.run
安裝需要套件
編譯需要的一些套件 build-essential(dep:gcc, g++, make等)
Debugger gdb
GLX development files libgl1-mesa-dev
# apt-get install build-essential libgl1-mesa-dev gdb
進入下載目錄
# cd /home/clementyan/Downloads/
更改檔案權限,增加可執行的權限
# chmod +x qt-opensource-linux-x64-android-5.4.1.run
執行安裝程式
# ./qt-opensource-linux-x64-android-5.4.1.run
新增qtcreator連結檔,連結到/opt/Qt5.4.1/Tools/QtCreator/bin/qtcreator
# cd /usr/local/bin/
# ln -s /opt/Qt5.4.1/Tools/QtCreator/bin/qtcreator qtcreator
一般使用者執行qt IDE
$ qtcreator
檢查compiler和gdb是否有抓到
特殊符號 英文對照表
Ref: http://www.lookuptables.com/
https://www.freeformatter.com/html-entities.html
https://www.freeformatter.com/html-entities.html
Character | Entity Name | Entity Number | Description |
---|---|---|---|
  | Space | ||
! | ! | Exclamation mark | |
" | " | Quotation mark | |
# | # | Number sign | |
$ | $ | Dollar sign | |
% | % | Percent sign | |
& | & | & | Ampersand |
' | ' | Apostrophe | |
( | ( | Opening/Left Parenthesis | |
) | ) | Closing/Right Parenthesis | |
* | * | Asterisk | |
+ | + | Plus sign | |
, | , | Comma | |
- | - | Hyphen | |
. | . | Period | |
/ | / | Slash | |
0 | 0 | Digit 0 | |
1 | 1 | Digit 1 | |
2 | 2 | Digit 2 | |
3 | 3 | Digit 3 | |
4 | 4 | Digit 4 | |
5 | 5 | Digit 5 | |
6 | 6 | Digit 6 | |
7 | 7 | Digit 7 | |
8 | 8 | Digit 8 | |
9 | 9 | Digit 9 | |
: | : | Colon | |
; | ; | Semicolon | |
< | < | < | Less-than |
= | = | Equals sign | |
> | > | > | Greater than |
? | ? | Question mark | |
@ | @ | At sign | |
A | A | Uppercase A | |
B | B | Uppercase B | |
C | C | Uppercase C | |
D | D | Uppercase D | |
E | E | Uppercase E | |
F | F | Uppercase F | |
G | G | Uppercase G | |
H | H | Uppercase H | |
I | I | Uppercase I | |
J | J | Uppercase J | |
K | K | Uppercase K | |
L | L | Uppercase L | |
M | M | Uppercase M | |
N | N | Uppercase N | |
O | O | Uppercase O | |
P | P | Uppercase P | |
Q | Q | Uppercase Q | |
R | R | Uppercase R | |
S | S | Uppercase S | |
T | T | Uppercase T | |
U | U | Uppercase U | |
V | V | Uppercase V | |
W | W | Uppercase W | |
X | X | Uppercase X | |
Y | Y | Uppercase Y | |
Z | Z | Uppercase Z | |
[ | [ | Opening/Left square bracket | |
\ | \ | Backslash | |
] | ] | Closing/Right square bracket | |
^ | ^ | Caret | |
_ | _ | Underscore | |
` | ` | Grave accent | |
a | a | Lowercase a | |
b | b | Lowercase b | |
c | c | Lowercase c | |
d | d | Lowercase d | |
e | e | Lowercase e | |
f | f | Lowercase f | |
g | g | Lowercase g | |
h | h | Lowercase h | |
i | i | Lowercase i | |
j | j | Lowercase j | |
k | k | Lowercase k | |
l | l | Lowercase l | |
m | m | Lowercase m | |
n | n | Lowercase n | |
o | o | Lowercase o | |
p | p | Lowercase p | |
q | q | Lowercase q | |
r | r | Lowercase r | |
s | s | Lowercase s | |
t | t | Lowercase t | |
u | u | Lowercase u | |
v | v | Lowercase v | |
w | w | Lowercase w | |
x | x | Lowercase x | |
y | y | Lowercase y | |
z | z | Lowercase z | |
{ | { | Opening/Left curly brace | |
| | | | Vertical bar | |
} | } | Closing/Right curly brace | |
~ | ~ | Tilde |