You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
634 B
29 lines
634 B
8 years ago
|
#!/bin/bash
|
||
|
|
||
|
set -x
|
||
|
|
||
|
source /opt/qt*/bin/qt*-env.sh
|
||
|
/opt/qt*/bin/qmake linuxdeployqt.pro
|
||
|
make -j2
|
||
|
|
||
|
mkdir -p linuxdeployqt.AppDir/usr/bin/
|
||
|
cp /usr/local/bin/patchelf linuxdeployqt.AppDir/usr/bin/
|
||
|
cp /usr/local/bin/appimagetool linuxdeployqt.AppDir/usr/bin/
|
||
|
find linuxdeployqt.AppDir/
|
||
|
export VERSION=continuous
|
||
|
cp ./linuxdeployqt/linuxdeployqt linuxdeployqt.AppDir/usr/bin/
|
||
|
./linuxdeployqt/linuxdeployqt linuxdeployqt.AppDir/linuxdeployqt.desktop -verbose=3 -appimage
|
||
|
ls -lh
|
||
|
find *.AppDir
|
||
|
xpra start :99
|
||
|
|
||
|
export DISPLAY=:99
|
||
|
|
||
|
until xset -q
|
||
|
do
|
||
|
echo "Waiting for X server to start..."
|
||
|
sleep 1;
|
||
|
done
|
||
|
|
||
|
bash -e tests/tests.sh
|