티스토리 뷰
1. qt 5.7.0 설치 가이드
https://wiki.qt.io/Install_Qt_5_on_Ubuntu
$ sudo apt-get install build-essential mesa-common-dev libglu1-mesa-dev
2. qtwebengine donwload (branch 변경시 submodule update 실행필요)
$ git clone https://github.com/qt/qtwebengine
$ git checkout -b 5.7 origin/5.7
$ git submodule update --init
qtwebengine requirement
-python 2.7 or later
-bison, flex
-bperf
-clang or gcc 4.7 or later
-dbus-1
-fontconfig
3. 관련 패키지 설치
$ sudo apt-get install bison build-essential gperf flex ruby python libasound2-dev libbz2-dev libcap-dev \
libcups2-dev libdrm-dev libegl1-mesa-dev libgcrypt11-dev libnss3-dev libpci-dev libpulse-dev libudev-dev \
libxtst-dev gyp ninja-build
$ sudo apt-get install libssl-dev libxcursor-dev libxcomposite-dev libxdamage-dev libxrandr-dev \
libfontconfig1-dev libxss-dev libsrtp0-dev libwebp-dev libjsoncpp-dev libopus-dev libminizip-dev \
libavutil-dev libavformat-dev libavcodec-dev libevent-dev
4. 빌드
export QT_SDK="/home/shin/Qt5.7.0/5.7/gcc_64";
export PATH="$QT_SDK/bin:$PATH";
export CPATH="$QT_SDK/include:$CPATH";
export LIBRARY_PATH="$QT_SDK/lib:$LIBRARY_PATH";
export LD_LIBRARY_PATH="$QT_SDK/lib:$LD_LIBRARY_PATH"
.sh file로 생성할 경우 $ source xxx.sh
$ cd ./src/3rdparty/ninja
$ ./bootstrap.py
$ qmake -r
$ make -j8
$ make install
qmake 에 대하여 다음과 같은 메시지 나온다면 명시된 추가 패키지들을 설치해줘야 됩니다.
Unmet dependency: dbus-1
Unmet dependency: fontconfig
Unmet dependency: xcomposite
Unmet dependency: xcursor
Unmet dependency: xrandr
Unmet dependency: xscrnsaver
Unmet dependency: harfbuzz
$ sudo apt-get install libpng16-dev libxcursor-dev libxcomposite-dev libxrandr-dev libxrandr-dev libxss-dev libdbus-1-dev libharfbuzz
$ sudo apt-get install libfontconfig1-dev libfreetype6-dev libpng-dev
qmake에 대하여 다음과 같은 메시지가 나온다면 path가 제대로 export되지 않은것입니다.
System zlib or minizip not found. Using Chromium's copies.
System libwebp or libwebpdemux not found. Using Chromium's copies.
System libxml2 or libxslt not found. Using Chromium's copies.
System libevent not found. Using Chromium's copy.
System jsoncpp not found. Using Chromium's copy.
System opus not found. Using Chromium's copy.
Protobuf compiler not found. Using Chromium's copy of protobuf.
Compatible system libvpx not found. Using Chromium's copy.
System libsrtp not found. Using Chromium's copy.
System snappy not found. Using Chromium's copy.
자 이제 모두 설치가 되었다면 간단하게 브라우저를 실행해보겠습니다.
$ cd examples/webengine/quicknanobrowser
$ make
$ ./quicknanobrowser
- Total
- Today
- Yesterday
- swip
- serializable
- expandable recyclerview
- qtwebengine
- Apache
- auto depoly
- delete item
- 오픈 소스 배포
- kotlinx serialization
- Parcelable
- publish opensource
- git hook
- C++
- jitpack
- security.ubuntu.com
- type inference
- Git
- data transfer
- weak_ptr
- Jenkins
- android serialization
- RecyclerView
- remove item
- ubuntu 16.04
- git server
- android open source
- build server
- kotlin
- 자동 배포
- 리사이클러뷰 확장
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |