-
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -73,3 +73,5 @@ CMakeLists.txt.user*
|
|||||||
*.exe
|
*.exe
|
||||||
|
|
||||||
build
|
build
|
||||||
|
lib/linux-x86_64
|
||||||
|
lib/*.zip
|
||||||
|
|||||||
15
install-linux.sh → install/install-linux.sh
Normal file → Executable file
15
install-linux.sh → install/install-linux.sh
Normal file → Executable file
@@ -2,20 +2,21 @@
|
|||||||
#
|
#
|
||||||
ARCH=`uname -m`
|
ARCH=`uname -m`
|
||||||
|
|
||||||
LIB="lib/linux/$ARCH"
|
LIB="../lib/linux-$ARCH"
|
||||||
|
BUILD="../build/Release"
|
||||||
|
|
||||||
mkdir -p $LIB
|
mkdir -p $LIB
|
||||||
rm -f $LIB/*.so*
|
rm -f $LIB/*.so*
|
||||||
cp build/Release/*.so $LIB
|
cp $BUILD/*.so $LIB
|
||||||
cp build/Release/rktwebview_prg $LIB
|
cp $BUILD/rktwebview_prg $LIB
|
||||||
|
|
||||||
QT_PATH=`ldd build/Release/rktwebview_prg | grep Qt | awk '{print $3}' | head -1 | sed -e 's%[/]lib[/].*%%'`
|
QT_PATH=`ldd $BUILD/rktwebview_prg | grep Qt | awk '{print $3}' | head -1 | sed -e 's%[/]lib[/].*%%'`
|
||||||
echo "QT_PATH=$QT_PATH"
|
echo "QT_PATH=$QT_PATH"
|
||||||
|
|
||||||
QT_PLUGINS="$QT_PATH/plugins"
|
QT_PLUGINS="$QT_PATH/plugins"
|
||||||
PLUGINS="platforms position generic iconengines imageformats qmltooling tls xcbglintegrations"
|
PLUGINS="platforms position generic iconengines imageformats qmltooling tls xcbglintegrations"
|
||||||
|
|
||||||
EXTRA_LIBS_SO=`ldd build/Release/rktwebview_prg | grep Qt | awk '{ print $3 }'`
|
EXTRA_LIBS_SO=`ldd $BUILD/rktwebview_prg | grep Qt | awk '{ print $3 }'`
|
||||||
EXTRA_LIBS_PLATFORM_PLUGIN_XCB=`ldd $QT_PATH/plugins/platforms/libqxcb.so | grep Qt | awk '{print $3}'`
|
EXTRA_LIBS_PLATFORM_PLUGIN_XCB=`ldd $QT_PATH/plugins/platforms/libqxcb.so | grep Qt | awk '{print $3}'`
|
||||||
|
|
||||||
for pl in $PLUGINS
|
for pl in $PLUGINS
|
||||||
@@ -63,4 +64,8 @@ done
|
|||||||
|
|
||||||
cp $QT_PATH/libexec/QtWebEngineProcess $LIB
|
cp $QT_PATH/libexec/QtWebEngineProcess $LIB
|
||||||
|
|
||||||
|
(cd $LIB; cd ..; zip -9 -y -r linux-$ARCH.zip linux-$ARCH)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user