Skip to content

[package] qt/6.7.3: Check pip dependency for web #27285

@kevinpoulet

Description

@kevinpoulet

Description

When building the recipe with web modules enabled, if the pip package html5lib has not been previously installed, a warning is printed in the build logs that web modules will be skipped but the package builds nonetheless.

Since the package does not match what the recipe requests, the recipe should check that the package is present before starting the build when a web module is enabled and error out.

Package and Environment Details

  • Package Name/Version: qt/6.7.3
  • Operating System+version: Windows 11
  • Compiler+version: MSVC 2022
  • Docker image: NA
  • Conan version: conan 2.15.1
  • Python version: Python 3.11.9

Conan profile

[settings]
arch=x86_64
build_type=Release
compiler=msvc
compiler.cppstd=20
compiler.runtime=dynamic
compiler.version=194
os=Windows

Steps to reproduce

conan install --requires qt/6.7.3 -o qtwebsockets=True -o qtwebchannel=True -o qtwebengine=True -o qtwebview=True

Logs

Click to expand log
Log not available, and the build time does not make it easy to get the logs back.

The warning is printed after the big summary where it lists back what will be built.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions