File: check_qt_import.sh

package info (click to toggle)
python-mne 1.9.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 131,492 kB
  • sloc: python: 213,302; javascript: 12,910; sh: 447; makefile: 144
file content (11 lines) | stat: -rwxr-xr-x 322 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash -ef

if [[ "$1" == "" ]]; then
    echo "Qt library must be provided as first argument"
    exit 1
fi
echo "Checking if Python-Qt binding $1 is available"
echo ""
LD_DEBUG=libs python -c "from $1.QtWidgets import QApplication, QWidget; app = QApplication([])"
echo ""
echo "Python-Qt binding $1 is available!"