Skip to content

qwt pkg-config Qt6Qwt6.pc file has error (Requires Qt5 instead of Qt6) #202637

Open
@topher800

Description

brew gist-logs <formula> link OR brew config AND brew doctor output

Not applicable.

Verification

  • My brew doctor output says Your system is ready to brew. and am still able to reproduce my issue.
  • I ran brew update and am still able to reproduce my issue.
  • I have resolved all warnings from brew doctor and that did not fix my problem.
  • I searched for recent similar issues at https://github.com/Homebrew/homebrew-core/issues?q=is%3Aissue and found no duplicates.

What were you trying to do (and why)?

I am porting my software from Qt5 to Qt6. pkg-config for qwt [Qt6Qwt6] "Requires" Qt5 components, when it should Require Qt6 components.

12 │ Requires: Qt5Widgets Qt5Concurrent Qt5PrintSupport Qt5Svg Qt5OpenGL

What happened (include all command output)?

Package 'Qt5Widgets', required by 'Qt6Qwt6', not found
Package 'Qt5Concurrent', required by 'Qt6Qwt6', not found
Package 'Qt5PrintSupport', required by 'Qt6Qwt6', not found
Package 'Qt5Svg', required by 'Qt6Qwt6', not found
Package 'Qt5OpenGL', required by 'Qt6Qwt6', not found

What did you expect to happen?

Normal pkg-config output for this package.

Step-by-step reproduction instructions (by running brew commands)

pkg-config --with-path=/usr/local/opt/qwt/lib/pkgconfig  --with-path=/usr/local/opt/qt/libexec/lib/pkgconfig --cflags --libs Qt6Qwt6

Metadata

Assignees

No one assigned

    Labels

    upstream issueAn upstream issue report is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions