Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt cannot find packages
Qt 6.11 is out! See what's new in the release blog

Qt cannot find packages

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 1 Posters 341 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • serkan_trS Offline
    serkan_trS Offline
    serkan_tr
    wrote on last edited by
    #1

    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
    

    0ff477b4-8f31-48e9-a045-351890306d8b-image.png

    serkan_trS 1 Reply Last reply
    0
    • serkan_trS serkan_tr

      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
      

      0ff477b4-8f31-48e9-a045-351890306d8b-image.png

      serkan_trS Offline
      serkan_trS Offline
      serkan_tr
      wrote on last edited by
      #2

      @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

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved