Skip to content

detect_linux_qt_version function not defined in tools/developer.sh #1909

@edumeneses

Description

@edumeneses

The detect_linux_qt_version function not defined in tools/developer.sh, which leads to a command not found error:

❯ ./tools/developer.sh
+ echo 'Running on OSTYPE: '\''linux-gnu'\'''
Running on OSTYPE: 'linux-gnu'
+ DISTRO=
+ CODENAME=
++ command -v sudo
+ export SUDO=/usr/bin/sudo
+ SUDO=/usr/bin/sudo
+ command -v git
+ [[ -d ../.git ]]
+ [[ -d score/.git ]]
+ [[ ! -d .git ]]
+ SCORE_PATH=/home/edu/Documents/sources/score
+ [[ 0 -eq 0 ]]
+ BUILD_DIR=build-developer
+ [[ linux-gnu == \d\a\r\w\i\n* ]]
+ [[ linux-gnu == \l\i\n\u\x\-\g\n\u* ]]
+ echo '[developer.sh] Installing dependencies'
[developer.sh] Installing dependencies
+ detect_linux_distro
++ awk -F= '/^ID=/ {gsub("\"","",$2); print tolower($2) } ' /etc/lsb-release /etc/os-release
+ DISTRO=ubuntu
+ CODENAME=
+ QT=6
+ case "$DISTRO" in
++ grep CODENAME
++ cat /etc/lsb-release /etc/os-release
++ head -n 1
++ cut -d= -f2
+ CODENAME=noble
+ return 0
+ detect_linux_qt_version
./tools/developer.sh: line 200: detect_linux_qt_version: command not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions