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

Fix QODBCDriverPlugin component name #26738

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fnadeau
Copy link
Contributor

@fnadeau fnadeau commented Mar 2, 2025

Summary

Changes to recipe: qt/6

Motivation

Fix #26737.

QODBCDriverPlugin has two component:

-- Conan: Component target declared 'qt::QODBCDriverPlugin'
-- Conan: Component target declared 'Qt6::QODBCDriverPlugin'

which mean that in your code you'll have to do something like:

target_link_libraries(${PROJECT_NAME} PRIVATE Qt6::QODBCDriverPlugin qt::QODBCDriverPlugin)

Details

QODBCDriverPlugin was missing the 'qt' prefix when adding requirements outside of _create_plugin(), which lead to a different component name.


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.

[package] qt/6: QODBCDriverPlugin has two component
1 participant