#!/bin/sh
set -eu

for candidate in \
    /usr/lib/qt5/bin/qmlscene \
    /usr/lib64/qt5/bin/qmlscene \
    /usr/bin/qmlscene
do
    if [ -x "$candidate" ]; then
        exec "$candidate" "$@"
    fi
done

echo "Sail Recorder: qmlscene bulunamadi" >&2
exit 127
