1
0
Fork 0
forked from lthn/blockchain

make Qt WebEngine Dev Tools available for Linux builds if qt_dev_tools env option is specified

This commit is contained in:
sowle 2020-06-16 18:47:47 +03:00
parent 2467d99afb
commit 90112e6b8f
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC

View file

@ -25,6 +25,10 @@ if [ -n "$testnet" ]; then
ARCHIVE_NAME_PREFIX=${ARCHIVE_NAME_PREFIX}testnet-
fi
if [ -n "$testnet" ] || [ -n "$qt_dev_tools" ]; then
copy_qt_dev_tools=true
fi
prj_root=$(pwd)
@ -98,6 +102,9 @@ cp $QT_PREFIX_PATH/resources/qtwebengine_resources_100p.pak ./Zano
cp $QT_PREFIX_PATH/resources/qtwebengine_resources_200p.pak ./Zano
cp $QT_PREFIX_PATH/resources/icudtl.dat ./Zano
if [ "$copy_qt_dev_tools" = true ] ; then
cp $QT_PREFIX_PATH/resources/qtwebengine_devtools_resources.pak ./Zano
fi
mkdir ./Zano/lib/platforms
cp $QT_PREFIX_PATH/plugins/platforms/libqxcb.so ./Zano/lib/platforms