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

CharacterEntity NameEntity NumberDescription
  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
00Digit 0
11Digit 1
22Digit 2
33Digit 3
44Digit 4
55Digit 5
66Digit 6
77Digit 7
88Digit 8
99Digit 9
::Colon
;&#59;Semicolon
<&lt;&#60;Less-than
=&#61;Equals sign
>&gt;&#62;Greater than
?&#63;Question mark
@&#64;At sign
A&#65;Uppercase A
B&#66;Uppercase B
C&#67;Uppercase C
D&#68;Uppercase D
E&#69;Uppercase E
F&#70;Uppercase F
G&#71;Uppercase G
H&#72;Uppercase H
I&#73;Uppercase I
J&#74;Uppercase J
K&#75;Uppercase K
L&#76;Uppercase L
M&#77;Uppercase M
N&#78;Uppercase N
O&#79;Uppercase O
P&#80;Uppercase P
Q&#81;Uppercase Q
R&#82;Uppercase R
S&#83;Uppercase S
T&#84;Uppercase T
U&#85;Uppercase U
V&#86;Uppercase V
W&#87;Uppercase W
X&#88;Uppercase X
Y&#89;Uppercase Y
Z&#90;Uppercase Z
[&#91;Opening/Left square bracket
\&#92;Backslash
]&#93;Closing/Right square bracket
^&#94;Caret
_&#95;Underscore
`&#96;Grave accent
a&#97;Lowercase a
b&#98;Lowercase b
c&#99;Lowercase c
d&#100;Lowercase d
e&#101;Lowercase e
f&#102;Lowercase f
g&#103;Lowercase g
h&#104;Lowercase h
i&#105;Lowercase i
j&#106;Lowercase j
k&#107;Lowercase k
l&#108;Lowercase l
m&#109;Lowercase m
n&#110;Lowercase n
o&#111;Lowercase o
p&#112;Lowercase p
q&#113;Lowercase q
r&#114;Lowercase r
s&#115;Lowercase s
t&#116;Lowercase t
u&#117;Lowercase u
v&#118;Lowercase v
w&#119;Lowercase w
x&#120;Lowercase x
y&#121;Lowercase y
z&#122;Lowercase z
{&#123;Opening/Left curly brace
|&#124;Vertical bar
}&#125;Closing/Right curly brace
~&#126;Tilde