mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00

Prior to this change, ./run fails out of the box on ARM systems, as Qt wasn't available on PyPI until the 6.8 release. Also added a script in tools/ for testing Qt6.8 issues on other platforms.
11 lines
399 B
Bash
Executable file
11 lines
399 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
export PYTHONWARNINGS=default
|
|
export PYTHONPYCACHEPREFIX=out/pycache
|
|
export ANKIDEV=${ANKIDEV-1}
|
|
export QTWEBENGINE_REMOTE_DEBUGGING=${QTWEBENGINE_REMOTE_DEBUGGING-8080}
|
|
export QTWEBENGINE_CHROMIUM_FLAGS=${QTWEBENGINE_CHROMIUM_FLAGS---remote-allow-origins=http://localhost:$QTWEBENGINE_REMOTE_DEBUGGING}
|
|
./ninja pylib qt pyenv-qt6.8
|
|
./out/pyenv-qt6.8/bin/python tools/run.py $*
|