Skip to content

PDAL processing are not exposed if QGIS is build without PDAL support #63106

Description

@ptitjano

What is the bug or the crash?

The correct way to handle this is to always expose the algorithm, but at runtime raise a processing exception of the required library is not available (with an explanatory message).

This lets users still work on models using these tools, and gives them a friendly explanation as to why the to won't work (as opposed to it just getting missing)

See: #63092

cc @nyalldawson

Steps to reproduce the issue

  • Build QGIS without PDAL support
  • Open the processing toolbox
  • PDAL processing are missing

Versions

QGIS 3.44

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugEither a bug report, or a bug fix. Let's hope for the latter!ProcessingRelating to QGIS Processing framework or individual Processing algorithms

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions