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

[osg-qt]how to use it in an cmakelist.txt ? #44441

Open
yanzixiang opened this issue Mar 17, 2025 · 0 comments
Open

[osg-qt]how to use it in an cmakelist.txt ? #44441

yanzixiang opened this issue Mar 17, 2025 · 0 comments
Assignees
Labels
category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist

Comments

@yanzixiang
Copy link

yanzixiang commented Mar 17, 2025

osg-qt provides pkg-config modules:

  # osgQt utility library.
  openscenegraph-osgQt

but when i try to

find_package(PkgConfig REQUIRED)
pkg_check_modules(openscenegraph-osgQt REQUIRED IMPORTED_TARGET OSGQT)

it's said said

Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)

  Hint: The project() command has not yet been called.  It sets up
  system-specific search paths.

so,how can i use it in an cmakelist.txt ?

@yanzixiang yanzixiang added the category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist label Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist
Projects
None yet
Development

No branches or pull requests

2 participants