Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[package] qt/6.7.3: Missing Metal Framework when consuming qtGUI module #26005

Open
uilianries opened this issue Nov 22, 2024 · 0 comments · May be fixed by #26006
Open

[package] qt/6.7.3: Missing Metal Framework when consuming qtGUI module #26005

uilianries opened this issue Nov 22, 2024 · 0 comments · May be fixed by #26006
Assignees
Labels
bug Something isn't working

Comments

@uilianries
Copy link
Member

Description

When consuming Qt 6.7, the same has a specific rule for Macos and iOS in the upstream CMake file:

https://github.com/qt/qtbase/blob/v6.7.3/src/gui/CMakeLists.txt#L463

When the graphics frame capture feature is enabled, then qtGui should link to Metal framework as well.

The current recipe in CCI has no such rule for qtGui: https://github.com/conan-io/conan-center-index/blob/master/recipes/qt/6.x.x/conanfile.py#L1193

It applies Metal framework, but only for QIOSIntegrationPlugin and QCocoaIntegrationPlugin.

Package and Environment Details

  • Package Name/Version: qt/6.7.3
  • Operating System+version: Mac M1 - Macos 15
  • Compiler+version: Apple Clang 16
  • Docker image: N/A
  • Conan version: 2.9.3
  • Python version: 3.10.4

Conan profile

[settings]
arch=armv8
build_type=Release
compiler=apple-clang
compiler.cppstd=17
compiler.libcxx=libc++
compiler.version=16
os=Macos
[options]
&:shared=True
[conf]
tools.build:verbosity=verbose
tools.cmake.cmaketoolchain:generator=Ninja
tools.compilation:verbosity=verbose

Steps to reproduce

  1. Fetch the PR for Node Editor: Nodeeditor: new package #24751
  2. Checkout the commit f0b8eb7
  3. On Mac M1, build the library using option "&:shared=True"

In case using all static, it should fail when linking the test package too.

Logs

nodeeditor-3.0.11-macos-shared.log

@uilianries uilianries added the bug Something isn't working label Nov 22, 2024
@uilianries uilianries self-assigned this Nov 22, 2024
@uilianries uilianries linked a pull request Nov 22, 2024 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant