Qt cannot find packages
-
I made a qt project using cmake. I am using gsteamer in this project but it cannot find the packages
cmake:
set(GST_DEPENDENCIES gstreamer-1.0>=1.14 gstreamer-video-1.0>=1.14 gstreamer-gl-1.0>=1.14 ) if (MSVC) pkg_check_modules(GST ${GST_DEPENDENCIES} ) else() pkg_check_modules(GST ${GST_DEPENDENCIES} egl ) endif()output:
Checking for modules 'gstreamer-1.0>=1.14;gstreamer-video-1.0>=1.14;gstreamer-gl-1.0>=1.14' -- No package 'gstreamer-1.0' found -- No package 'gstreamer-video-1.0' found -- No package 'gstreamer-gl-1.0' found
-
I made a qt project using cmake. I am using gsteamer in this project but it cannot find the packages
cmake:
set(GST_DEPENDENCIES gstreamer-1.0>=1.14 gstreamer-video-1.0>=1.14 gstreamer-gl-1.0>=1.14 ) if (MSVC) pkg_check_modules(GST ${GST_DEPENDENCIES} ) else() pkg_check_modules(GST ${GST_DEPENDENCIES} egl ) endif()output:
Checking for modules 'gstreamer-1.0>=1.14;gstreamer-video-1.0>=1.14;gstreamer-gl-1.0>=1.14' -- No package 'gstreamer-1.0' found -- No package 'gstreamer-video-1.0' found -- No package 'gstreamer-gl-1.0' found
@serkan_tr
i solved the problem i added to environment variables
System Variables -> new -> PKG_CONFIG_PATH -> C:\gstreamer\1.0\msvc_x86_64\lib\gstreamer-1.0\pkgconfig;
C:\gstreamer\1.0\msvc_x86_64\lib\pkgconfig