Skip to content

build: Ambiguous help string for --with-gui configure option #17813

@hebasto

Description

@hebasto

This help message

$ ./configure --help | grep -A 1 'with-gui'
  --with-gui[=no|qt5|auto]
                          build bitcoin-qt GUI (default=auto)

states that --with-gui and --with-gui=auto are equivalent.

But this is not correct.

Consider a system without available Qt:

$ ./configure --with-gui | grep 'with gui'
configure: error: Qt dependencies not found
$ ./configure --with-gui=auto | grep 'with gui'
configure: WARNING: Qt dependencies not found; bitcoin-qt frontend will not be built
  with gui / qt = no

What should be fixed: the help message or configure behavior?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions