File indexing completed on 2024-04-28 15:27:36

0001 #!/usr/bin/env bash
0002 
0003 QMLPLUGINDUMP=${QMLPLUGINDUMP-qmlplugindump}
0004 
0005 case $1 in
0006 -h|--help)
0007         echo "usage: $(basename $0) IMPORT_PATH"
0008         echo "it uses either '$(which qmlplugindump)' or the one set by 'QMLPLUGINDUMP'"
0009         exit 1
0010         ;;
0011 esac
0012 
0013 [[ -z ${1} ]] && { echo "no import path not given, exit"; exit 1; }
0014 
0015 echo "using '${QMLPLUGINDUMP}' as dump tool" >&2
0016 
0017 ${QMLPLUGINDUMP} -noinstantiate -notrelocatable -platform xcb org.kde.kirigami 2.0 "${1}"