Skip to content

Commit

Permalink
Release v107
Browse files Browse the repository at this point in the history
  • Loading branch information
drswinghead committed Apr 29, 2019
1 parent cbe0721 commit 58034ab
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions .travis/tests-osx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ set -e -o pipefail
./.travis/build-osx.sh

pwd
wget https://github.com/kitech/qt.inline/releases/download/v1.0-rc4/qt510_macos_x64_xcode8.3.tar.bz2
wget https://github.com/kitech/qt.inline/releases/download/v5.12.107/qt512_macos_x64_xcode8.3.tar.bz2

tar xvf qt510_macos_x64_xcode8.3.tar.bz2
tar xvf qt512_macos_x64_xcode8.3.tar.bz2

set -x
brew install qt5

export LD_LIBRARY_PATH=$PWD/qt510_macos_x64_xcode8.3:/usr/local/opt/qt/lib
export LD_LIBRARY_PATH=$PWD/qt512_macos_x64_xcode8.3:/usr/local/opt/qt/lib
pwd
ls

Expand All @@ -24,8 +24,8 @@ export CGO_ENABLED=1
export CGO_CFLAGS="-I/usr/local/opt/libffi/lib/libffi-3.2.1/include"
export CGO_LDFLAGS="-L/usr/local/opt/libffi/lib"

file $PWD/qt510_macos_x64_xcode8.3/libQt5Inline.dylib
otool -L $PWD/qt510_macos_x64_xcode8.3/libQt5Inline.dylib
file $PWD/qt512_macos_x64_xcode8.3/libQt5Inline.dylib
otool -L $PWD/qt512_macos_x64_xcode8.3/libQt5Inline.dylib

go test -v tests/hello_test.go

8 changes: 4 additions & 4 deletions .travis/tests-ubuntu14.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ set -e -o pipefail
./.travis/build-ubuntu14.sh

pwd
wget https://github.com/kitech/qt.inline/releases/download/v1.0-rc4/qt510_linux_x64_static.tar.bz2
wget https://github.com/kitech/qt.inline/releases/download/v5.12.107/qt512_linux_x64_static.tar.bz2

tar xvf qt510_linux_x64_static.tar.bz2
tar xvf qt512_linux_x64_static.tar.bz2

set -x
export LD_LIBRARY_PATH=$PWD/qt510_linux_x64_static
export LD_LIBRARY_PATH=$PWD/qt512_linux_x64_static
pwd
ls

sudo apt-get install -y libx11-6 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-present0 libxcb-present0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxcb-xkb1 libxcb-cursor0 libxcb-xinerama0

ldd $PWD/qt510_linux_x64_static/libQt5Inline.so
ldd $PWD/qt512_linux_x64_static/libQt5Inline.so
go test -v tests/hello_test.go

6 changes: 3 additions & 3 deletions install.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ and make sure gcc is in %path%

##### libffi && dlfcn && Qt5Inline.dll

git clone https://github.com/qtchina/qtenv_win32.git D:/qtenv
git clone https://github.com/qtchina/qt512_qtenv_win32.git D:/qtenv

##### qt.go

Expand Down Expand Up @@ -44,7 +44,7 @@ xcode8.3 or xcode 9.3 are fine.

##### Qt5Inline.dylib

wget https://github.com/kitech/qt.inline/releases/download/v1.0-rc4/qt510_macos_x64_xcode9.3.tar.bz2
wget https://github.com/kitech/qt.inline/releases/download/v5.12.107/qt512_macos_x64_xcode9.3.tar.bz2

extract to $HOME/qtenv/libQt5Inline.dylib

Expand All @@ -70,7 +70,7 @@ extract to $HOME/qtenv/libQt5Inline.dylib

##### Qt5Inline.so

wget https://github.com/kitech/qt.inline/releases/download/v1.0-rc4/qt510_linux_x64_static.tar.bz2
wget https://github.com/kitech/qt.inline/releases/download/v5.12.107/qt512_linux_x64_static.tar.bz2

extract to $HOME/qtenv/libQt5Inline.so

Expand Down

0 comments on commit 58034ab

Please sign in to comment.