Skip to content

[qt] set lib property for plugins#29668

Open
planetmarshall wants to merge 1 commit intoconan-io:masterfrom
planetmarshall:qt-fix-plugin-location
Open

[qt] set lib property for plugins#29668
planetmarshall wants to merge 1 commit intoconan-io:masterfrom
planetmarshall:qt-fix-plugin-location

Conversation

@planetmarshall
Copy link
Contributor

@planetmarshall planetmarshall commented Feb 26, 2026

Summary

Changes to recipe: qt/5.x

Motivation

When using the new CMakeConfigDeps generator, Qt plugins cannot be found by querying, for example,

get_property(plugin_libs TARGET QXcbIntegrationPlugin PROPERTY IMPORTED_LOCATION)

as they do not have the lib property defined when shared=True (which is typical for Qt), and they end up being
defined in the generated config files as INTERFACE libraries.

Details

the lib property for Qt plugins was only defined for shared=False. This PR defines it unconditionally.


  • Read the contributing guidelines
  • Checked that this PR is not a duplicate: list of PRs by recipe
  • If this is a bug fix, please link related issue or provide bug details
  • Tested locally with at least one configuration using a recent version of Conan

Add a 👍 reaction to pull requests you find important to help the team prioritize, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant