forked from pehohlva/wv2qt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME_QT5
62 lines (50 loc) · 1.7 KB
/
README_QT5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
new 2017 mac osx el capitan:
search "libiconv-1.9.2.tar.gz" if the same url...
mkdir ~/__sandbox
# or make alias to your path .bash_profil: alias go='cd ~/__sandbox/'
cd __sandbox
wget https://ftp.gnu.org/gnu/libiconv/libiconv-1.9.2.tar.gz
extract libiconv-1.9.2.tar.gz
extract on console
inside your .bash_profile
# extract: Extract most know archives with one command
# ---------------------------------------------------------
extract () {
if [ -f $1 ] ; then
case $1 in
*.tar.bz2) tar xjf $1 ;;
*.tar.gz) tar xzf $1 ;;
*.bz2) bunzip2 $1 ;;
*.rar) unrar e $1 ;;
*.gz) gunzip $1 ;;
*.tar) tar xf $1 ;;
*.tbz2) tar xjf $1 ;;
*.tgz) tar xzf $1 ;;
*.zip) unzip $1 ;;
*.Z) uncompress $1 ;;
*.7z) 7z x $1 ;;
*) echo "'$1' cannot be extracted via extract()" ;;
esac
else
echo "'$1' is not a valid file"
fi
}
cd libiconv-1.9.2
./configure --prefix=/opt/box
make
sudo make install
# libiconv-1.9.2 can now use...
# end 2017..
This is wv2qt-0.4.2, see: http://wvware.sourceforge.net/
We slightly modified the code to meet our need.
To build libs ... take qt5 & cd to wv2qt path
qmake && make
at end
sudo make install
on error handle this..
this static lib only need iconv.. this is deal... qt having all to manage other item
on Window .... hmm
Ready to use on project:
LIBS += -lz
LIBS += -L/opt/icon/lib -liconv -I/opt/icon/include
LIBS += -L/opt/icon/lib -lwv2qt -I/opt/icon/include